rustio rustio.net
38

enum2pos

v0.1.2 Growing

enum2pos 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).

MIT Edition 2021
#macro#index#string#enum

Quick Verdict

  • โœ•Not updated for 1+ year
  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (3KB, 3 deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
29.5K
Dependents
0
Releases
3
Size
3KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

215 downloads in the last 30 days (7/day), up 26% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 3+ years old, enum2pos hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Minimal dependencies

Only 3 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 3KB, enum2pos is lightweight. Small crate size correlates with focused, well-scoped functionality.

Health Breakdown

Maintenance 5/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 3/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
8/day avg-50%
02040608012/291/162/32/213/113/28

Version Adoption

v0.1.1
72%
v0.1.2
24%
v0.1.0
4%

Release Timeline

3 releasessince 2023
J
F
M
A
M
J
J
A
S
O
N
D
2023
2
2024
1
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
0
crates depend on enum2pos

Similar Crates