[][src]Crate cqrs_es

Modules

aggregate

Aggregate module holds the central traits that define the fundamental component of CQRS.

command

Command module holds the Command trait which defines the only object that can make any modifications to the state of an aggregate.

config

Config has additional suppliers of metadata to be included with the committed events.

cqrs

Cqrs provides the base framework and associated logic for processing loading aggregates via an event store and subsequently processing commands.

event

Event module provides the abstract domain events and associated wrapper.

store

Store holds the abstact EventStore trait as well as an in-memory and Postgres implementation.

test

Test provides a test framework for building a resilient test base around aggregates.

tools

Tools provides a simple postgres view repository to simplify loading and updating views.

view

View provides the basic downstream query objects needed to render queries (or "views") that describe the state of the system.