nanny-runtime 0.1.0

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

pub mod enforcement;
pub mod ledger;
pub mod tools;

pub use enforcement::{ChainPolicy, LimitsPolicy, RuleEvaluator};
pub use ledger::FakeLedger;
pub use tools::{default_registry, HttpGet, ToolRegistry};