mysql-es 0.2.4

A MySql implementation of an event store for cqrs-es.
Documentation

mysql-es

A MySql implementation of the EventStore trait in cqrs-es.


Usage

Add to your Cargo.toml file:

[dependencies]
cqrs-es = "0.2.4"
persist-es = "0.2.4"
mysql-es = "0.2.4"

Requires access to a Postgres DB with existing tables. See:

A simple configuration example:

let store = default_mysql_pool("mysql://my_user:my_pass@localhost:3306/my_db");
let cqrs = mysql_es::mysql_cqrs(pool, vec![])

Things that could be helpful:

Crates.io docs