5 releases

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

#476 in Database interfaces

Download history 112/week @ 2024-10-22 192/week @ 2024-10-29 223/week @ 2024-11-05 238/week @ 2024-11-12 112/week @ 2024-11-19 105/week @ 2024-11-26 2/week @ 2024-12-03 35/week @ 2024-12-10 106/week @ 2024-12-17 6/week @ 2024-12-24 126/week @ 2025-01-28 31/week @ 2025-02-04

157 downloads per month

Apache-2.0

46KB
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

~30–42MB
~723K SLoC