Rust State Machine
A (Finite) State Machine library
This Rust Library aims to provide a developer-friendly, Business-Oriented, (Finite) State Machine.
Features
- Use any type for your States and Events
- Define State Machines, even easier with the library's DSL
- Apply events on states to know the output
- Guard functions on transitions
More features coming Soon™
Examples
Quickly define your State Machine using the integrated DSL define!() macro:
Use any type to define your States and Events, why not enums: