[package]
name = "hatchery-server"
version = "0.2.21"
edition = "2021"
license = "MIT"
repository = "https://github.com/ZENG3LD/hatchery"
description = "hq-core server: drain, operator control, tasks, m4a, provisioning, memory: one supervisor process, loopback control and health"
[lib]
name = "hatchery_server"
[[bin]]
name = "hatchery-server"
path = "src/main.rs"
[dependencies]
hex = "0.4"
base64 = "0.22"
sha2 = "0.10"
hatchery-keystore = { path = "../hatchery-keystore", version = "0.2.21" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
toml = "0.8"
tokio = { version = "1", features = ["io-util", "macros", "net", "process", "rt-multi-thread", "signal", "sync", "time"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
m4a-agent = { version = "0.4.14" }
mail4agent-messenger-shell = { version = "0.4.14", default-features = false, features = ["tier-server"] }
zeroize = "1"
rusqlite = { version = "0.36", features = ["bundled"], optional = true }
hatchery-enroll = { path = "../hatchery-enroll", version = "0.2.21" }
hatchery-core = { path = "../hatchery-core", version = "0.2.21" }
hatchery-c2-client = { path = "../hatchery-c2-client", version = "0.2.21" }
gate4agent-node-protocol = { version = "0.5.4" }
gate4agent-node-wire = { version = "0.5.4" }
gate4agent-types = { version = "0.5.2" }
[target.'cfg(target_env = "musl")'.dependencies]
libdbus-sys = { version = "0.2", features = ["vendored"] }
[features]
default = ["kit"]
kit = ["m4a", "memory"]
m4a = ["dep:rusqlite"]
memory = []
[dev-dependencies]
tempfile = "3"
async-trait = "0.1"
hatchery-c2 = { path = "../hatchery-c2", version = "0.2.21" }