#event-sourcing #sqlite #cqrs #events

sqlite-es

An SQLite implementation of an event repository for cqrs-es

3 releases

0.4.10 Oct 19, 2023
0.4.9 Jul 14, 2023
0.4.5 Nov 15, 2022

#737 in Database interfaces

Download history 75/week @ 2024-03-13 233/week @ 2024-03-20 47/week @ 2024-03-27 58/week @ 2024-04-03 27/week @ 2024-04-10 47/week @ 2024-04-17 176/week @ 2024-04-24 27/week @ 2024-05-01 30/week @ 2024-05-08 55/week @ 2024-05-15 7/week @ 2024-05-22 61/week @ 2024-05-29 39/week @ 2024-06-05 46/week @ 2024-06-12 40/week @ 2024-06-19 20/week @ 2024-06-26

157 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
~759K SLoC