sqlite-es

Crates.iosqlite-es
lib.rssqlite-es
version0.4.10
sourcesrc
created_at2022-11-15 02:51:27.698876
updated_at2023-10-19 14:16:40.605947
descriptionAn SQLite implementation of an event repository for cqrs-es.
homepage
repositoryhttps://github.com/johnbcodes/sqlite-es
max_upload_size
id715410
size50,675
John Bledsoe (johnbcodes)

documentation

https://docs.rs/sqlite-es

README

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:

Commit count: 22

cargo fmt