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
484 downloads per month
45KB
1K
SLoC
sqlite-es
An SQLite implementation of the
PersistedEventRepository
trait in cqrs-es.
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:
- User guide along with an introduction to CQRS and event sourcing.
- Demo application using axum web application framework.
lib.rs
:
sqlite-es
An
SQLite
implementation of theEventStore
trait in cqrs-es.
Dependencies
~32–44MB
~741K SLoC