Decision Workspace
extrum vs nearest-enum vs stateless
Side-by-side comparison of Rust crates
46
extrum
experimentalv0.1.3
A macro for defining enum-like types with a specified underlying integer type.
42
nearest-enum
experimentalv0.2.0
Derive nearest/exact/ceil lookups on fieldless enums tagged with integer values, compile-time first
41
stateless
experimentalv0.5.0
A lightweight, zero-cost state machine library that separates structure from behavior. Guards and actions live in wrapper code, not the DSL.
Core Metrics
| extrum | nearest-enum | stateless | |
|---|---|---|---|
| Health Score | 46 | 42 | 41 |
| Total Downloads | 161 | 32 | 3.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 3 | 2 | 6 |
| Last Updated | 119d ago | 43d ago | 185d ago |
| Age | 4m | 1m | 11m |
Health Breakdown
extrum
Maintenance
13
Quality
16
Community
3
Popularity
3
Documentation
11
nearest-enum
Maintenance
11
Quality
13
Community
6
Popularity
2
Documentation
10
stateless
Maintenance
11
Quality
13
Community
3
Popularity
4
Documentation
10
Technical Details
| extrum | nearest-enum | stateless | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 4 | 4 |
| Crate Size | 4KB | 17KB | 98KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2015 | 2024 | 2024 |
| MSRV | 1.32.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •extrum leads with a health score of 46/100, but none of the options score above 80.
- •stateless has the most downloads (3.5K), suggesting wider adoption.