1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![forbid(unsafe_code)]
#![deny(missing_docs)]
#![deny(clippy::all)]
// #![warn(clippy::pedantic)]
#![doc = include_str!("../README.md")]
//!
mod context;
mod error;
mod event_store;
mod queries;
mod repository;
mod serialized_event;
mod snapshot_store;
mod upcaster;

pub use context::{EventStoreAggregateContext, QueryContext, SnapshotStoreAggregateContext};
pub use error::PersistenceError;
pub use event_store::PersistedEventStore;
pub use queries::GenericQuery;
pub use repository::{PersistedEventRepository, ViewRepository};
pub use serialized_event::{SerializedEvent, SerializedSnapshot};
pub use snapshot_store::PersistedSnapshotStore;
pub use upcaster::{EventUpcaster, SemanticVersionEventUpcaster};