Expand description
Engine support primitives for irontide.
This is the thin leaf crate that sits below both the engine runtime
(irontide-engine) and irontide-session. It owns the pure, low-coupling
mechanisms that both layers consume downward:
error— the crate-wideError/Resulttype (#[from]-wraps the lower-crate errors plusi2p::SamError).i2p— the I2P SAM-bridge client (co-located witherrorbecauseError#[from]-wrapsi2p::SamError).transport— the network transport abstraction (BoxedStream,NetworkFactory,TransportListener).rate_limiter— the mixed-mode (GCRA) rate limiter.slot_tuner— adaptive unchoke-slot tuning.stats— the engine stats accumulator.
Extracted from irontide-session at M244b (the engine/session split). The
grounding verified these six modules are pure leaves — the only intra-crate
edge is error -> i2p (Error #[from] i2p::SamError), which is why the two
co-locate here. Every other module has zero crate:: coupling.
Re-exports§
Modules§
- error
- i2p
- I2P support via the SAM v3.1 bridge protocol.
- rate_
limiter - Token bucket rate limiter.
- slot_
tuner - Automatic upload slot tuning via hill-climbing.
- stats
- Session statistics metric registry and atomic counter array.
- transport
- Network transport abstraction layer.