enum-ordinalize
v4.4.2 StableThis 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.
Quick Verdict
- ✓Actively maintained (updated 73d ago)
- ✓Stable API (4.x for 8+ years)
- ✓Trusted by 468 crates
- ✓Tiny footprint (5KB, 1 deps)
- ✓Permissive license (MIT)
Security
Deep Insights
11.7M downloads in the last 30 days (388.8K/day), up 14% from the previous period.
468 crates depend on enum-ordinalize. Reasonable ecosystem adoption, though not yet a core dependency.
The primary maintainer publishes 124 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
The API has been stable (1.x) for over 8 years with 46 releases. This level of maturity means you can depend on it without worrying about breaking changes.
Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 5KB, enum-ordinalize is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include educe, chinese-variant, chinese-number, validators-derive, zbar-rust. When high-quality crates choose enum-ordinalize, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on enum-ordinalize
Version Adoption
Release Timeline
Feature Flags
default =["derive", "traits"]