Decision Workspace
ordinal vs enum-ordinalize vs enum-ordinalize-derive
Side-by-side comparison of Rust crates
50
ordinal
growingv0.4.0
Format numbers as ordinals efficiently.
65
enum-ordinalize
growingv4.3.2
This library enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value.
63
enum-ordinalize-derive
stablev4.3.2
This crate provides a procedural macro that enables enums to not only obtain the ordinal values of their variants but also allows for the construction of enums from an ordinal value.
Core Metrics
| ordinal | enum-ordinalize | enum-ordinalize-derive | |
|---|---|---|---|
| Health Score | 50 | 65 | 63 |
| Total Downloads | 317.9K | 59.5M | 41.2M |
| 30d Downloads | 18.9K | 6.4M | 5.2M |
| Dependents | 124 | 406 | 16 |
| Releases | 9 | 43 | 15 |
| Last Updated | 340d ago | 150d ago | 150d ago |
| Age | 9y 11m | 7y 6m | 2y 4m |
Health Breakdown
ordinal
Maintenance
6
Quality
16
Community
11
Popularity
7
Documentation
10
enum-ordinalize
Maintenance
11
Quality
21
Community
13
Popularity
8
Documentation
12
enum-ordinalize-derive
Maintenance
12
Quality
22
Community
9
Popularity
8
Documentation
12
Technical Details
| ordinal | enum-ordinalize | enum-ordinalize-derive | |
|---|---|---|---|
| Version | 0.4.0 | 4.3.2 | 4.3.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MPL-2.0 | MIT | MIT |
| Dependencies | 6 | 1 | 3 |
| Crate Size | 30KB | 4KB | 8KB |
| Features | 3 | 4 | 2 |
| Yanked % | 0.0% | 2.3% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.68 | 1.68 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum-ordinalize leads with a health score of 65/100, but none of the options score above 80.
- •enum-ordinalize is depended on by 406 crates — strongest ecosystem trust.
- •ordinal is pre-1.0 — API may change.