Skip to main content

nanny_runtime/
lib.rs

1// nanny-runtime — local implementations of the nanny-core contracts.
2//
3// nanny-core defines the contracts (Policy, Ledger, Tool traits).
4// nanny-runtime provides the concrete implementations used in local mode.
5//
6// Three implementation families live here:
7//   enforcement  — LimitsPolicy, RuleEvaluator, ChainPolicy
8//   ledger       — FakeLedger
9//   tools        — ToolRegistry, HttpGet, default_registry
10
11pub mod enforcement;
12pub mod ledger;
13pub mod tools;
14
15pub use enforcement::{ChainPolicy, LimitsPolicy, RuleEvaluator};
16pub use ledger::FakeLedger;
17pub use tools::{default_registry, HttpGet, ToolRegistry};