postgres_es2/lib.rs
1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3#![deny(clippy::all)]
4// #![warn(clippy::pedantic)]
5
6//! # postgres-es2
7//!
8//! **A Postgres implementation of the `EventStore` trait in
9//! cqrs-es2.**
10//!
11//! [](https://github.com/brgirgis/postgres-es2/actions/workflows/crates-io.yml)
12//! [](https://github.com/brgirgis/postgres-es2/actions/workflows/rust-ci.yml)
13//! [](https://crates.io/crates/postgres-es2)
14//! [](https://docs.rs/postgres-es2)
15//!
16//! ## Installation
17//!
18//! ```toml
19//! [dependencies]
20//! cqrs-es2 = "^0.2"
21//! serde = { version = "^1.0.127", features = ["derive"] }
22//! serde_json = "^1.0.66"
23//! postgres-es2 = "0.2.3"
24//! postgres = { version = "^0.19.1", features = ["with-serde_json-1"] }
25//! ```
26
27pub use crate::{
28 aggregates::*,
29 framework::*,
30 queries::*,
31 stores::*,
32};
33
34mod aggregates;
35mod framework;
36mod queries;
37mod stores;