[package]
name = "kaya-server"
description = "TCP server process for KayaDB with Raft consensus, cluster bootstrap, and client routing"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
readme.workspace = true
rust-version.workspace = true
keywords.workspace = true
categories.workspace = true

[dependencies]
kaya-core.workspace = true
kaya-engine.workspace = true
kaya-io.workspace = true
kaya-net.workspace = true
kaya-raft = { workspace = true, features = ["disk-storage"] }
tokio.workspace = true

[features]
default = []
tls = ["kaya-net/tls"]

[lib]
path = "src/lib.rs"

[[bin]]
name = "kayadb-server"
path = "src/main.rs"

[dev-dependencies]
kaya-client = { path = "../kaya-client" }
kaya-sim = { path = "../kaya-sim" }

