Decision Workspace
tpt-periph-state vs tpt-periph-state-macros vs state-machines
Side-by-side comparison of Rust crates
45
tpt-periph-state
experimentalv0.1.0
Typestate-safe hardware/ISR transitions.
44
tpt-periph-state-macros
experimentalv0.1.0
Procedural macros for tpt-periph-state.
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
Core Metrics
| tpt-periph-state | tpt-periph-state-macros | state-machines | |
|---|---|---|---|
| Health Score | 45 | 44 | 62 |
| Total Downloads | 18 | 39 | 17.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 141 |
| Releases | 1 | 1 | 19 |
| Last Updated | 64d ago | 64d ago | today |
| Age | 2m | 2m | 12m |
Health Breakdown
tpt-periph-state
Maintenance
9
Quality
16
Community
6
Popularity
2
Documentation
12
tpt-periph-state-macros
Maintenance
9
Quality
14
Community
7
Popularity
2
Documentation
12
state-machines
Maintenance
19
Quality
11
Community
12
Popularity
5
Documentation
15
Technical Details
| tpt-periph-state | tpt-periph-state-macros | state-machines | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.31.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 3 | 7 |
| Crate Size | 10KB | 10KB | 46KB |
| Features | 2 | 0 | 8 |
| Yanked % | 0.0% | 0.0% | 26.3% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.83.0 | 1.83.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.