Decision Workspace
typed-fsm vs state-machines vs rust-sfsm
Side-by-side comparison of Rust crates
49
typed-fsm
experimentalv0.4.8
Event-driven FSM with ISR-safe dispatch for embedded systems. Zero-cost, no_std, type-safe state machines with interrupt and concurrency support.
58
state-machines
experimentalv0.9.0
Type-safe state machines with hierarchical states, guards, callbacks, and async support - Rust port of Ruby's state_machines gem
53
rust-sfsm
growingv1.0.0
A full static Rust finite state machine macro library
Core Metrics
| typed-fsm | state-machines | rust-sfsm | |
|---|---|---|---|
| Health Score | 49 | 58 | 53 |
| Total Downloads | 315 | 11.3K | 1.0K |
| 30d Downloads | 15 | 970 | 6 |
| Dependents | 0 | 87 | 0 |
| Releases | 12 | 12 | 4 |
| Last Updated | 115d ago | 6d ago | 139d ago |
| Age | 4m | 5m | 7m |
Health Breakdown
typed-fsm
Maintenance
14
Quality
14
Community
6
Popularity
3
Documentation
12
state-machines
Maintenance
19
Quality
10
Community
11
Popularity
5
Documentation
13
rust-sfsm
Maintenance
12
Quality
18
Community
6
Popularity
4
Documentation
13
Technical Details
| typed-fsm | state-machines | rust-sfsm | |
|---|---|---|---|
| Version | 0.4.8 | 0.9.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 8 | 5 | 1 |
| Crate Size | 87KB | 34KB | 4KB |
| Features | 3 | 6 | 1 |
| Yanked % | 0.0% | 41.7% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.75.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •state-machines leads with a health score of 58/100, but none of the options score above 80.
- •typed-fsm, state-machines are pre-1.0 — API may change.