rustio rustio.net
46

enum_discriminant

v1.0.1 Growing

Procedural macro to add functions on enum types to get discrimnant value from variant or create unit variant from discriminant value.

MIT Edition 2021
Rust patterns #enum#ordinal#discriminant

Quick Verdict

  • โœ“Tiny footprint (8KB, 3 deps)
  • โœ“Permissive license (MIT)

Security

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

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

914 downloads in the last 30 days (30/day), up 234% from the previous period.

๐Ÿชถ
Minimal dependencies

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

๐Ÿ“
Compact crate

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

Health Breakdown

Maintenance 9/25

Recency, release consistency, active ratio

Quality 18/25

Yanked ratio, deps, size, maturity, features

Community 5/20

Reverse deps, ownership, ecosystem

Popularity 4/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
21/day avg+44%
05010015012/291/162/32/213/113/28

Version Adoption

v1.0.1
77%
v0.1.0
12%
v1.0.0
11%

Release Timeline

3 releasessince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
3
2026
Less
More

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
0
crates depend on enum_discriminant

Similar Crates