eventcore-macros 1.0.0

Procedural macros for EventCore event sourcing library
Documentation
1
2
3
4
5
6
7
8
// trybuild compile-fail fixture: tuple structs are not supported by #[derive(Command)].
// Exercised via tests/trybuild.rs.
use eventcore::{Command, StreamId};

#[derive(Command)]
struct TupleCommand(#[stream] StreamId);

fn main() {}