cqrs-rust-lib 0.8.0

An opinionated implementation of CQRS/Event Sourcing with pluggable storage backends (InMemory, PostgreSQL, MongoDB, SurrealDB)
Documentation
1
2
3
4
5
6
7
8
pub use crate::es::postgres::{PgConn, PgPool, PgSession, PostgresPersist, SharedClient};
pub use crate::es::postgres::PostgresPersist as EventStorePersist;
pub use crate::read::postgres::{PostgresFromSnapshotStorage, PostgresStorage};
pub use crate::read::postgres::PostgresFromSnapshotStorage as FromSnapshotStorage;
pub use crate::read::postgres::PostgresStorage as ReadStorage;
pub use crate::read::query::{Pagination, Query};
pub use crate::read::{SortDirection, Sorter};
pub use rest_sql::{FieldMapper, IdentityMapper};