[package]
name = "ontoref-reflection"
version = "0.1.0"
edition = "2021"
description = "Load, validate, and execute Reflection modes (NCL DAG contracts) against project state"
license = "MIT OR Apache-2.0"

[features]
default = []
nats = ["dep:platform-nats", "dep:bytes"]

[dependencies]
stratum-graph = { path = "../../../stratumiops/crates/stratum-graph" }
stratum-state = { path = "../../../stratumiops/crates/stratum-state" }

serde       = { version = "1", features = ["derive"] }
serde_json  = { version = "1" }
anyhow      = { version = "1" }
thiserror   = { version = "2" }
async-trait = { version = "0.1" }
tokio       = { version = "1", features = ["full"] }
uuid        = { version = "1", features = ["v4"] }
chrono      = { version = "0.4", features = ["serde"] }
tracing     = { version = "0.1" }
regex       = { version = "1" }

platform-nats = { path = "../../../stratumiops/crates/platform-nats", optional = true }
bytes         = { version = "1", optional = true }

[dev-dependencies]
tokio-test = { version = "0.4" }
tempfile   = { version = "3" }
