Crate evento_macro

Crate evento_macro 

Source
Expand description

§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

§Usage

This crate is typically used through the main evento crate with the macro feature enabled:

[dependencies]
evento = { version = "1.0", features = ["macro"] }

§Examples

See the individual macro documentation for detailed usage examples.

Attribute Macros§

aggregator
Implements the [evento::Aggregator] trait for structs with event handler methods
handler
Creates an event handler for use with event subscriptions

Derive Macros§

AggregatorName
Derives the [evento::AggregatorName] trait for event types