[package]
name = "kebab-config"
version       = { workspace = true }
edition       = { workspace = true }
rust-version  = { workspace = true }
license       = { workspace = true }
repository    = { workspace = true }
description   = "Config schema + XDG path resolution"

[dependencies]
# kb-core::CoreError reserved for P1-* config errors
kebab-core = { path = "../kebab-core" }
anyhow       = { workspace = true }
serde        = { workspace = true }
serde_json   = { workspace = true }
thiserror    = { workspace = true }
toml         = "0.8"
toml_edit    = "0.22"
dirs         = "5"
# p9-fb-05: warn-log when current_dir() fails (chroot, deleted cwd)
# during workspace.root resolution.
tracing      = { workspace = true }

[dev-dependencies]
tempfile     = { workspace = true }

[lints]
workspace = true
