maiko-macros

Crates.iomaiko-macros
lib.rsmaiko-macros
version0.1.1
created_at2025-12-14 20:20:48.80452+00
updated_at2025-12-18 22:59:11.555581+00
descriptionProcedural macros for the Maiko actor runtime
homepagehttps://github.com/ddrcode/maiko
repositoryhttps://github.com/ddrcode/maiko
max_upload_size
id1985035
size5,934
David de Rosier (ddrcode)

documentation

https://docs.rs/maiko-macros

README

maiko-macros

Procedural macros for the Maiko actor runtime.

  • #[derive(Event)]: Implements maiko::Event for your type.

Usage:

use maiko_macros::Event;

#[derive(Clone, Debug, Event)]
enum MyEvent { Foo, Bar }

Publishing notes:

  • This crate must be published before maiko can depend on it by version.
  • Edition: 2024.

Notes:

  • The derive macro requires the maiko crate in your dependency tree because it implements the maiko::Event trait for your type.
  • Generic and where clauses are preserved when deriving.
  • Recommended import path in applications: use maiko_macros::Event;
Commit count: 0

cargo fmt