It is an opinionated library used to achieve cqrs/es in Rust.
A set of example snippets could be found in the example
folder.
Event Sourcing RS uses under the hood [sqlx
].
```toml
[dependencies]
esrs = { version = "0.12", features = ["postgres"] } sqlx = { version = "0.6", features = ["postgres", "runtime-tokio-native-tls", "uuid", "json", "chrono"] } ```
A tracing span is produced every time a projector is used or a policy is applied to a given event.
Start the docker-compose stack
shell
docker compose run --service-ports web bash
Run tests.
shell
cargo make test
Run linters.
shell
cargo make clippy