[package]
name = "dome-policy"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
description = "TOML policy engine and authorization decisions for Thunder Dome"
repository.workspace = true

[dependencies]
dome-core.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tracing.workspace = true

# Policy-specific dependencies
toml = "0.8"
glob-match = "0.2"
regex.workspace = true
chrono.workspace = true

# Hot-reload
arc-swap.workspace = true
notify.workspace = true
tokio.workspace = true

[dev-dependencies]
serde_json.workspace = true
tokio = { workspace = true, features = ["rt", "macros", "time", "fs"] }
tempfile = "3"
