Decision Workspace
stateflow vs state-machines vs qubit-state-machine
Side-by-side comparison of Rust crates
36
stateflow
growingv0.4.1
A simple and extensible state machine implementation in Rust
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
62
qubit-state-machine
experimentalv0.11.0
A small, thread-safe finite state machine for Rust
Core Metrics
| stateflow | state-machines | qubit-state-machine | |
|---|---|---|---|
| Health Score | 36 | 62 | 62 |
| Total Downloads | 5.2K | 17.2K | 2.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 141 | 16 |
| Releases | 5 | 19 | 20 |
| Last Updated | 578d ago | today | 2d ago |
| Age | 2y | 12m | 5m |
Health Breakdown
stateflow
Maintenance
4
Quality
13
Community
3
Popularity
4
Documentation
12
state-machines
Maintenance
19
Quality
11
Community
12
Popularity
5
Documentation
15
qubit-state-machine
Maintenance
19
Quality
15
Community
9
Popularity
4
Documentation
15
Technical Details
| stateflow | state-machines | qubit-state-machine | |
|---|---|---|---|
| Version | 0.4.1 | 0.31.0 | 0.11.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 8 | 7 | 5 |
| Crate Size | 27KB | 46KB | 75KB |
| Features | 0 | 8 | 3 |
| Yanked % | 0.0% | 26.3% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.81 | 1.99 | 1.94 |
| 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.
- •⚠ stateflow has not been updated in over a year.