#cqrs #event-sourcing #serverless

postgres-es

A Postgres implementation of an event store for cqrs-es

19 releases

Uses new Rust 2021

0.2.4 Dec 21, 2021
0.2.2 Oct 7, 2021
0.1.0 May 21, 2021
0.0.20 Nov 28, 2020
0.0.18 May 5, 2020

#153 in Database interfaces

Download history 42/week @ 2021-10-01 28/week @ 2021-10-08 15/week @ 2021-10-15 7/week @ 2021-10-22 8/week @ 2021-10-29 21/week @ 2021-11-05 1/week @ 2021-11-12 15/week @ 2021-11-19 8/week @ 2021-11-26 37/week @ 2021-12-03 27/week @ 2021-12-10 25/week @ 2021-12-17 6/week @ 2021-12-24 30/week @ 2021-12-31 9/week @ 2022-01-07 21/week @ 2022-01-14

69 downloads per month

Custom license

36KB
841 lines

postgres-es

A Postgres implementation of the EventStore trait in cqrs-es.


Usage

Add to your Cargo.toml file:

[dependencies]
cqrs-es = "0.2.4"
persist-es = "0.2.4"
postgres-es = "0.2.4"

Requires access to a Postgres DB with existing tables. See:

A simple configuration example:

let store = default_postgress_pool("postgresql://my_user:my_pass@localhost:5432/my_db");
let cqrs = postgres_es::postgres_cqrs(pool, vec![])

Things that could be helpful:

Crates.io docs

Dependencies

~20MB
~465K SLoC

a