eventcore-macros 0.2.0

Procedural macros for EventCore event sourcing library
Documentation
1
2
3
4
5
6
7
8
9
10
// trybuild compile-fail fixture: missing #[stream] should produce a helpful error.
// Run via tests/trybuild.rs; this source is intentionally "broken" outside that harness.
use eventcore::{Command, StreamId};

#[derive(Command)]
struct MissingStreamAttribute {
    account_id: StreamId,
}

fn main() {}