#state-machine #fsm #automata #state

macro rust-automata-macros

Macros for rust-automata DSL

3 releases

0.0.3 Apr 26, 2025
0.0.2 Apr 23, 2025
0.0.1 Apr 22, 2025

#53 in #automata

Download history 1/week @ 2025-09-20 2/week @ 2025-09-27

108 downloads per month
Used in rust-automata

MIT license

45KB
1K SLoC

Attribute‑style DSL for defining finite‑state machines.

See the rust-automata crate for more details.

Documentation features:

  • "mermaid": embed a clickable Mermaid state diagram.
  • "dsl": (re)generate a DSL for the machine.

Macros for the rust-automata crate.

Dependencies

~165–570KB
~13K SLoC