Decision Workspace
open-enum vs open-enum-derive vs ordinal-map-derive
Side-by-side comparison of Rust crates
59
open-enum
growingv0.5.3
An attribute for generating "open" fieldless enums, those that accept any integer value, by using a newtype struct and associated constants
57
open-enum-derive
growingv0.5.3
An attribute for generating "open" C-like enums, those that accept any integer value, by using a newtype struct and associated constants
59
ordinal-map-derive
growingv0.1.11
Ordinal trait to map values to integers and efficient maps and sets for such types
Core Metrics
| open-enum | open-enum-derive | ordinal-map-derive | |
|---|---|---|---|
| Health Score | 59 | 57 | 59 |
| Total Downloads | 1.6M | 1.6M | 3.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 52 | 9 | 12 |
| Releases | 9 | 9 | 12 |
| Last Updated | 11d ago | 11d ago | 69d ago |
| Age | 4y 1m | 4y 1m | 2y 3m |
Health Breakdown
open-enum
Maintenance
15
Quality
16
Community
11
Popularity
7
Documentation
10
open-enum-derive
Maintenance
15
Quality
16
Community
9
Popularity
7
Documentation
10
ordinal-map-derive
Maintenance
14
Quality
15
Community
9
Popularity
8
Documentation
13
Technical Details
| open-enum | open-enum-derive | ordinal-map-derive | |
|---|---|---|---|
| Version | 0.5.3 | 0.5.3 | 0.1.11 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | MIT |
| Dependencies | 4 | 3 | 3 |
| Crate Size | 13KB | 12KB | 5KB |
| Features | 2 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •open-enum leads with a health score of 59/100, but none of the options score above 80.
- •ordinal-map-derive has the most downloads (3.0M), suggesting wider adoption.