[package]
edition = "2021"
rust-version = "1.93"
name = "chio-supervisor"
version = "0.1.2"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Task supervision and monotonic health flags for Chio serving processes: restart with capped backoff, never self-heal, fail closed"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/backbay-labs/chio"
[features]
async = ["dep:tokio"]
[lib]
name = "chio_supervisor"
path = "src/lib.rs"
[[test]]
name = "health_properties"
path = "tests/health_properties.rs"
[[test]]
name = "loom_health"
path = "tests/loom_health.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dev-dependencies.proptest]
version = "1.10"
[dev-dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[target."cfg(loom)".dependencies.loom]
version = "0.7"
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]