Skip to main content

rskit_stateful/
lib.rs

1//! Typed state machines and stateful accumulation primitives.
2
3#![warn(missing_docs)]
4
5/// Core accumulator implementation.
6pub mod accumulator;
7/// Accumulator configuration and builders.
8pub mod config;
9/// Typed state machine primitives.
10pub mod machine;
11/// Multiplexed manager for keyed accumulators.
12pub mod manager;
13/// Value measurers used for thresholds and capacity.
14pub mod measurer;
15/// In-memory store implementation.
16pub mod memory_store;
17/// Store trait for pluggable backends.
18pub mod store;
19/// Flush triggers.
20pub mod trigger;
21
22pub use accumulator::Accumulator;
23pub use config::AccumulatorConfig;
24pub use machine::{AuditEntry, State, StateMachine, StatePersistence, StateSnapshot, Transition};
25pub use manager::Manager;
26pub use measurer::{ByteSizeMeasurer, CountMeasurer, Measurer};
27pub use memory_store::MemoryStore;
28pub use store::Store;
29pub use trigger::{ByteSizeTrigger, SizeTrigger, TimeTrigger, Trigger};