Evento Macros
This crate provides procedural macros for the Evento event sourcing framework. These macros simplify the implementation of aggregators and event handlers by generating boilerplate code automatically.
Macros
- [
aggregator] - Implements the [Aggregator] trait for structs with event handler methods - [
handler] - Creates event handler functions for use with subscriptions - [
AggregatorName] - Derives the [AggregatorName] trait for event types
Usage
This crate is typically used through the main evento crate with the macro feature enabled:
[]
= { = "1.0", = ["macro"] }
Examples
See the individual macro documentation for detailed usage examples.