| Crates.io | sqlite-es |
| lib.rs | sqlite-es |
| version | 0.4.13 |
| created_at | 2022-11-15 02:51:27.698876+00 |
| updated_at | 2025-01-29 13:17:53.465802+00 |
| description | An SQLite implementation of an event repository for cqrs-es. |
| homepage | |
| repository | https://github.com/johnbcodes/sqlite-es |
| max_upload_size | |
| id | 715410 |
| size | 100,654 |
An SQLite implementation of the
PersistedEventRepositorytrait in cqrs-es.
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:
User guide along with an introduction to CQRS and event sourcing.
Demo application using axum web application framework.