[package]
name = "chanora_core"
description = "Chanora — top-level Rust API and orchestration. Hosts the connection manager, command dispatcher, and the integration of the protocol, state, audio, storage, and diagnostics subsystems."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
publish.workspace = true

[dependencies]
chanora_protocol = { path = "../../crates/chanora_protocol" }
chanora_state    = { path = "../../crates/chanora_state" }
chanora_audio    = { path = "../../crates/chanora_audio" }
chanora_storage  = { path = "../../crates/chanora_storage" }
chanora_diagnostics = { path = "../../crates/chanora_diagnostics" }
chanora_prefetch = { path = "../../crates/chanora_prefetch" }
thiserror.workspace = true
tracing.workspace = true
tokio = { version = "1", features = ["sync", "rt", "macros"] }

[dev-dependencies]
# Used by integration tests to inspect the bookmark DB row layout
# without going through the public repository API.
chanora_prefetch = { path = "../../crates/chanora_prefetch", features = ["test-support"] }
rusqlite = { version = "0.32", features = ["bundled"] }
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"] }
