zenkey_fleet/lib.rs
1//! Fleet engine for keyspace-v2 tooling (issue #15).
2//!
3//! The shared core of `zenctl` and `zengui`: everything a bus explorer needs
4//! that is not presentation. The RFC 05 §2.1 fan-in discipline lives in
5//! exactly one place ([`query::fleet_get`], moved verbatim from zenctl —
6//! target `All`, consolidation `None`, attribution by the reply's own key);
7//! the liveliness roster, registry-slice sets, and the schema-aware decode
8//! seam build on it.
9//!
10//! Sessions opened here are deliberately **un-namespaced** (RFC 09 §5): an
11//! explorer sees the wire as it really is, full keys included — that is what
12//! lets it spot a leak. Do not "fix" this by setting a namespace.
13
14pub mod admin;
15pub mod query;
16pub mod registry;
17pub mod roster;
18pub mod session;
19pub mod stats;
20pub mod sub;
21pub mod tree;
22
23#[cfg(feature = "decode")]
24pub mod decode;
25
26pub use admin::{
27 AdminEntry, Coverage, CoverageRow, RouterInfo, StorageInfo, admin_get, routers, state_coverage,
28 storages,
29};
30pub use query::{Answer, FleetAnswer, StateSample, fleet_get, fleet_registry, state_snapshot};
31pub use registry::SliceSet;
32pub use roster::roster;
33pub use session::open;
34pub use sub::{EventStream, FleetEvent, Monitor, MonitorCore, MonitorSpec, SampleView, StreamItem};
35pub use tree::KeyTreeSnapshot;