Decision Workspace
nearest-enum vs extrum vs enum-table
Side-by-side comparison of Rust crates
42
nearest-enum
experimentalv0.2.0
Derive nearest/exact/ceil lookups on fieldless enums tagged with integer values, compile-time first
46
extrum
experimentalv0.1.3
A macro for defining enum-like types with a specified underlying integer type.
63
enum-table
stablev4.0.0
A library for creating tables with enums as key.
Core Metrics
| nearest-enum | extrum | enum-table | |
|---|---|---|---|
| Health Score | 42 | 46 | 63 |
| Total Downloads | 32 | 161 | 25.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 10 |
| Releases | 2 | 3 | 24 |
| Last Updated | 43d ago | 119d ago | 27d ago |
| Age | 1m | 4m | 1y 7m |
Health Breakdown
nearest-enum
Maintenance
11
Quality
13
Community
6
Popularity
2
Documentation
10
extrum
Maintenance
13
Quality
16
Community
3
Popularity
3
Documentation
11
enum-table
Maintenance
17
Quality
20
Community
9
Popularity
5
Documentation
12
Technical Details
| nearest-enum | extrum | enum-table | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.3 | 4.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 0 | 5 |
| Crate Size | 17KB | 4KB | 23KB |
| Features | 0 | 1 | 5 |
| Yanked % | 0.0% | 0.0% | 4.2% |
| Edition | 2024 | 2015 | 2024 |
| MSRV | — | 1.32.0 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum-table leads with a health score of 63/100, but none of the options score above 80.
- •nearest-enum, extrum are pre-1.0 — API may change.