Skip to main content

atomr_persistence/
lib.rs

1//! atomr-persistence.
2//!
3//! Event-sourced persistent actor model with pluggable journal and snapshot stores.
4
5mod alod;
6mod async_snapshot;
7mod determinism;
8mod eventsourced;
9mod journal;
10mod persistent_actor;
11mod persistent_fsm;
12mod receive_persistent;
13mod recovery;
14mod recovery_permitter;
15mod snapshot;
16
17pub use alod::{AtLeastOnceDelivery, UnconfirmedDelivery};
18pub use async_snapshot::{AsyncSnapshotter, SnapshotPolicy};
19pub use determinism::{with_kind, EntryKind, ReplayHarness, ReplayReport, RngState, RunPin, SeededRng};
20pub use eventsourced::{Eventsourced, EventsourcedError};
21pub use journal::{InMemoryJournal, Journal, JournalError, PersistentRepr};
22pub use persistent_actor::PersistentActor;
23pub use persistent_fsm::PersistentFSM;
24pub use receive_persistent::ReceivePersistent;
25pub use recovery::{Recovery, RecoveryState};
26pub use recovery_permitter::RecoveryPermitter;
27pub use snapshot::{InMemorySnapshotStore, SnapshotMetadata, SnapshotStore};