cqrs-es 0.2.1

A lightweight, opinionated CQRS and event sourcing framework targeting 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.2.1"

Usage

Documentation is available here along with an introduction to CQRS and event sourcing.

A demo application is available here.

Change log

v0.2.1

  • Moved generic persistence logic in from postgres-es package.
  • Added event context information to event envelope.

v0.2.0

Moved to async/await for better tool support.

v0.1.3

Aggregates now consume events on apply.

v0.1.2

Require Send + Sync for queries.

v0.1.1

Require Send + Sync for support of multi-threaded applications.

v0.1.0

Corrected to move all command and event logic into the aggregate.

Todos

  • Event upcasters.
  • A persistence implementation for DynamoDb.
  • A persistence implementation for MySql.