Decision Workspace
stateflow vs qubit-state-machine vs state-machines
Side-by-side comparison of Rust crates
39
stateflow
growingv0.4.1
A simple and extensible state machine implementation in Rust
55
qubit-state-machine
experimentalv0.5.0
A small, thread-safe finite state machine for Rust
54
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
Core Metrics
| stateflow | qubit-state-machine | state-machines | |
|---|---|---|---|
| Health Score | 39 | 55 | 54 |
| Total Downloads | 5.0K | 538 | 12.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 14 | 94 |
| Releases | 5 | 18 | 12 |
| Last Updated | 441d ago | today | 65d ago |
| Age | 1y 7m | 26d | 7m |
Health Breakdown
stateflow
Maintenance
7
Quality
13
Community
3
Popularity
4
Documentation
12
qubit-state-machine
Maintenance
14
Quality
14
Community
9
Popularity
3
Documentation
15
state-machines
Maintenance
15
Quality
10
Community
11
Popularity
5
Documentation
13
Technical Details
| stateflow | qubit-state-machine | state-machines | |
|---|---|---|---|
| Version | 0.4.1 | 0.5.0 | 0.9.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 8 | 3 | 5 |
| Crate Size | 27KB | 38KB | 34KB |
| Features | 0 | 0 | 6 |
| Yanked % | 0.0% | 0.0% | 41.7% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.81 | 1.94 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •qubit-state-machine leads with a health score of 55/100, but none of the options score above 80.
- •state-machines has the most downloads (12.5K), suggesting wider adoption.
- •⚠ stateflow has not been updated in over a year.