Decision Workspace
statecraft vs MagicStateMachines vs tokio-fsm-macros
Side-by-side comparison of Rust crates
49
statecraft
experimentalv0.1.0
State machines with compile-time enforced transitions
51
MagicStateMachines
experimentalv0.1.2
Ergonomic typestate wrappers for compiler-enforced state machines with separable contracts
58
tokio-fsm-macros
experimentalv0.4.1
Proc macro for generating Tokio async finite state machines
Core Metrics
| statecraft | MagicStateMachines | tokio-fsm-macros | |
|---|---|---|---|
| Health Score | 49 | 51 | 58 |
| Total Downloads | 1.9K | 44 | 275 |
| 30d Downloads | 1.9K | 0 | 0 |
| Dependents | 0 | 0 | 10 |
| Releases | 1 | 3 | 10 |
| Last Updated | 6d ago | 31d ago | 15d ago |
| Age | 6d | 1m | 5m |
Health Breakdown
statecraft
Maintenance
13
Quality
13
Community
6
Popularity
4
Documentation
13
MagicStateMachines
Maintenance
12
Quality
18
Community
6
Popularity
2
Documentation
13
tokio-fsm-macros
Maintenance
18
Quality
13
Community
9
Popularity
3
Documentation
15
Technical Details
| statecraft | MagicStateMachines | tokio-fsm-macros | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.2 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 3 | 6 |
| Crate Size | 17KB | 67KB | 23KB |
| Features | 0 | 11 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | 1.92 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tokio-fsm-macros leads with a health score of 58/100, but none of the options score above 80.
- •statecraft has the most downloads (1.9K), suggesting wider adoption.