[package]
edition = "2021"
name = "hatchery-server"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host for hatchery subservices (harness, m4a, memory): one supervisor process, loopback control and health"
readme = false
license = "MIT"
repository = "https://github.com/ZENG3LD/hatchery"
[features]
default = ["kit"]
harness = []
kit = [
"harness",
"m4a",
"memory",
]
m4a = ["dep:m4a-agent"]
memory = []
[lib]
name = "hatchery_server"
path = "src/lib.rs"
[[bin]]
name = "hatchery-server"
path = "src/main.rs"
[[test]]
name = "supervisor_e2e"
path = "tests/supervisor_e2e.rs"
[dependencies.m4a-agent]
version = "0.4.8"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
"sync",
"time",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.tempfile]
version = "3"