Decision Workspace
typed-fsm vs state-machines vs rust-sfsm
Side-by-side comparison of Rust crates
46
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.
62
state-machines
experimentalv0.31.0
Type-safe state machines with hierarchical states, guards, callbacks, and async support - Rust port of Ruby's state_machines gem
51
rust-sfsm
growingv1.0.0
A full static Rust finite state machine macro library
Core Metrics
| typed-fsm | state-machines | rust-sfsm | |
|---|---|---|---|
| Health Score | 46 | 62 | 51 |
| Total Downloads | 1.0K | 17.2K | 1.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 141 | 0 |
| Releases | 12 | 19 | 4 |
| Last Updated | 311d ago | today | 335d ago |
| Age | 10m | 12m | 1y 2m |
Health Breakdown
typed-fsm
Maintenance
10
Quality
14
Community
6
Popularity
4
Documentation
12
state-machines
Maintenance
19
Quality
11
Community
12
Popularity
5
Documentation
15
rust-sfsm
Maintenance
9
Quality
19
Community
6
Popularity
4
Documentation
13
Technical Details
| typed-fsm | state-machines | rust-sfsm | |
|---|---|---|---|
| Version | 0.4.8 | 0.31.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 8 | 7 | 1 |
| Crate Size | 87KB | 46KB | 4KB |
| Features | 3 | 8 | 1 |
| Yanked % | 0.0% | 26.3% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.75.0 | 1.99 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •state-machines leads with a health score of 62/100, but none of the options score above 80.
- •state-machines is depended on by 141 crates — strongest ecosystem trust.
- •typed-fsm, state-machines are pre-1.0 — API may change.