[package]
name = "kanade-shared"
description = "Shared wire types, NATS subject helpers, KV constants, YAML manifest schema, and teravars-backed config loader for the kanade endpoint-management system"
readme = "../../README.md"
version.workspace      = true
edition.workspace      = true
rust-version.workspace = true
license.workspace      = true
repository.workspace   = true
homepage.workspace     = true
authors.workspace      = true
keywords.workspace     = true
categories.workspace   = true

[dependencies]
anyhow     = { workspace = true }
async-nats = { workspace = true }
chrono     = { workspace = true }
humantime  = { workspace = true }
serde      = { workspace = true }
serde_json = { workspace = true }
teravars   = { workspace = true }
thiserror  = { workspace = true }
tokio      = { workspace = true }
toml       = { workspace = true }
tracing    = { workspace = true }
uuid       = { workspace = true }

[target.'cfg(windows)'.dependencies]
winreg = { workspace = true }

[dev-dependencies]
# Tests deserialise sample YAML manifests + schedules.
serde_yaml = { workspace = true }
