hatchery_c2/lib.rs
1//! Headless observe-only aggregation daemon for local Gate4Agent nodes.
2
3#[cfg(any(windows, unix))]
4mod runtime;
5
6#[cfg(any(windows, unix))]
7pub use runtime::{
8 default_c2_control_endpoint, C2Config, C2ConfigError, C2Error, C2NodeConfig, C2Running,
9 C2ShutdownHandle, C2Timings, DEFAULT_C2_CONTROL_ENDPOINT,
10};
11
12pub use hatchery_core as protocol;
13
14/// Node enrollment registry (phase P1 of the enrollment and fleet plan): signed
15/// enrollment requests, a neutral first status, operator-driven status changes
16/// and key/signature node authentication. Not yet wired into the relay runtime.
17pub mod enrollment;
18
19/// Runtime side of enrollment (listener, operator endpoints, peer provisioning, signed call-home).
20#[cfg(any(windows, unix))]
21pub mod enroll_service;
22
23/// Byte restreamer (A2): opaque multiplex, core drain, nested crypto.
24#[cfg(any(windows, unix))]
25pub mod restreamer;