4 releases

0.4.12 Aug 20, 2024
0.4.10 Oct 19, 2023
0.4.9 Jul 14, 2023
0.4.5 Nov 15, 2022

#417 in Database interfaces

Download history 244/week @ 2024-08-17 56/week @ 2024-08-24 73/week @ 2024-08-31 40/week @ 2024-09-07 48/week @ 2024-09-14 133/week @ 2024-09-21 87/week @ 2024-09-28 109/week @ 2024-10-05 214/week @ 2024-10-12 105/week @ 2024-10-19 173/week @ 2024-10-26 256/week @ 2024-11-02 222/week @ 2024-11-09 144/week @ 2024-11-16 115/week @ 2024-11-23 3/week @ 2024-11-30

484 downloads per month

Apache-2.0

45KB
1K SLoC

sqlite-es

An SQLite implementation of the PersistedEventRepository trait in cqrs-es.

Build status Crates.io docs


Usage

Add to your Cargo.toml file:

[dependencies]
cqrs-es = "0.4.5"
sqlite-es = "0.4.5"

A simple configuration example:

let store = default_sqlite_pool("sqlite://my.db");
let cqrs = sqlite_es::sqite_cqrs::<MyAggregate>(pool, vec![], ())

Things that could be helpful:


lib.rs:

sqlite-es

An SQLite implementation of the EventStore trait in cqrs-es.

Dependencies

~32–44MB
~741K SLoC