Decision Workspace
typed-fsm vs state-machines vs rust-sfsm
Side-by-side comparison of Rust crates
47
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.
57
state-machines
experimentalv0.20.1
Type-safe state machines with hierarchical states, guards, callbacks, and async support - Rust port of Ruby's state_machines gem
52
rust-sfsm
growingv1.0.0
A full static Rust finite state machine macro library
Core Metrics
| typed-fsm | state-machines | rust-sfsm | |
|---|---|---|---|
| Health Score | 47 | 57 | 52 |
| Total Downloads | 960 | 13.5K | 1.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 100 | 0 |
| Releases | 12 | 14 | 4 |
| Last Updated | 223d ago | 16d ago | 247d ago |
| Age | 7m | 9m | 11m |
Health Breakdown
typed-fsm
Maintenance
11
Quality
14
Community
6
Popularity
4
Documentation
12
state-machines
Maintenance
18
Quality
10
Community
11
Popularity
5
Documentation
13
rust-sfsm
Maintenance
10
Quality
19
Community
6
Popularity
4
Documentation
13
Technical Details
| typed-fsm | state-machines | rust-sfsm | |
|---|---|---|---|
| Version | 0.4.8 | 0.20.1 | 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 | 36KB | 4KB |
| Features | 3 | 6 | 1 |
| Yanked % | 0.0% | 35.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 57/100, but none of the options score above 80.
- •typed-fsm, state-machines are pre-1.0 — API may change.