Decision Workspace
ordinal vs enum-ordinalize vs enum-ordinalize-derive
Side-by-side comparison of Rust crates
58
ordinal
growingv0.4.1
Format numbers as ordinals efficiently.
68
enum-ordinalize
stablev4.4.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.
67
enum-ordinalize-derive
stablev4.4.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 | 58 | 68 | 67 |
| Total Downloads | 403.3K | 114.6M | 90.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 135 | 468 | 19 |
| Releases | 10 | 46 | 18 |
| Last Updated | 39d ago | 73d ago | 70d ago |
| Age | 10y 6m | 8y 1m | 2y 10m |
Health Breakdown
ordinal
Maintenance
14
Quality
16
Community
11
Popularity
7
Documentation
10
enum-ordinalize
Maintenance
14
Quality
21
Community
13
Popularity
8
Documentation
12
enum-ordinalize-derive
Maintenance
15
Quality
22
Community
10
Popularity
8
Documentation
12
Technical Details
| ordinal | enum-ordinalize | enum-ordinalize-derive | |
|---|---|---|---|
| Version | 0.4.1 | 4.4.2 | 4.4.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MPL-2.0 | MIT | MIT |
| Dependencies | 6 | 1 | 3 |
| Crate Size | 30KB | 5KB | 8KB |
| Features | 3 | 3 | 2 |
| Yanked % | 0.0% | 2.2% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.89 | 1.89 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum-ordinalize leads with a health score of 68/100, but none of the options score above 80.
- •enum-ordinalize is depended on by 468 crates — strongest ecosystem trust.
- •ordinal is pre-1.0 — API may change.