enum2pos
v0.1.2 Growingenum2pos is a rust derive macro for enums that generates "from_index(usize, Vec<String>) -> Option<Self>" and "to_index()" methods for converting between an variants and their position within the enum declaration (similar to an index).
Quick Verdict
- โNot updated for 1+ year
- !Pre-1.0: API may have breaking changes
- โTiny footprint (3KB, 3 deps)
- โPermissive license (MIT)
Security
Deep Insights
215 downloads in the last 30 days (7/day), up 26% from the previous period.
Despite being 3+ years old, enum2pos hasn't reached 1.0 yet. Expect potential API changes between versions.
Only 3 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 3KB, enum2pos is lightweight. Small crate size correlates with focused, well-scoped functionality.
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