cqrs-es 0.0.14

A lightweight, opinionated CQRS and event sourcing framework targetting serverless architectures.
Documentation

cqrs

A lightweight, opinionated CQRS and event sourcing framework targeting serverless architectures.

Build tag Crates.io docs

Installation

cqrs-es is available from Crates.io or Github.

[dependencies]
cqrs-es = "0.0.14"

Opinions

  • Aggregate persistence is via event sourcing only.
  • Support for JSON serialization only.
  • Generics are preferred over boxed traits.
  • Persistence is implemented through a Postgres database.

Todos/research

  • Event upcasters.
  • Event serialization uses the event type as the root node of the JSON tree. This simplifies deserialization but is non-standard.
  • A persistence implementation for DynamoDb.
  • Support for snapshots.