Crate eventually
source ·Expand description
eventually
is a crate that helps you apply different patterns to your Rust
application domain code, such as: Event Sourcing, Aggregate Root, Outbox Pattern,
and so on.
Modules§
- Module containing support for the Aggregate pattern.
- Module containing support for Domain [Command]s.
- Module
event
contains types and abstractions helpful for working with Domain Events. - This module contains the definition of a Message type, which can be used to describe some sort of domain value such as a Domain Event, a Domain Command, and so on.
- Module
query
contains types and helpful abstractions to model Domain Queries and implement Domain Query Handlers. - This module provides traits and implementations for serialization and deserialization, allowing you to convert Rust data structures to and from different formats like JSON, Protobuf, etc.
- Module containing some extension traits to support code instrumentation using the
tracing
crate. - Contains the types necessary for Optimistic Locking through versioning.