keystate-core 0.1.0

Canonical model, extraction ports, completeness verification, and idempotent output for Keystate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! The ports (traits) every backend adapter implements.
//!
//! Core defines what the system needs, knowing nothing about how any backend
//! provides it. Adapters are concrete implementations of these traits against
//! one backend's database. The CLI never talks to a database directly — it
//! only calls these methods, and (as composition root) wires concrete adapter
//! types together.
//!
//! One file per port: adding a capability to the architecture means adding a
//! port here, not widening the ones that exist.

mod completeness_verifier;
mod extractor;
mod output_sink;

pub use completeness_verifier::CompletenessVerifier;
pub use extractor::Extractor;
pub use output_sink::OutputSink;