rustio rustio.net
45

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

  • โœ•Not updated for 1+ year
  • โœ“Stable API (1.x for 1+ years)
  • โœ“Tiny footprint (8KB, 3 deps)
  • โœ“Permissive license (MIT)

Security

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

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

1.0K downloads in the last 30 days (34/day), up 57% from the previous period.

โœ…
Stable API

Reached 1.0 over a year ago. The API surface is settled, making it safe for production use.

๐Ÿชถ
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 6/25

Recency, release consistency, active ratio

Quality 19/25

Yanked ratio, deps, size, maturity, features

Community 5/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
0/day avg-100%
0102030408/239/109/2810/1611/311/20

Version Adoption

v1.0.1
88%
v0.1.0
7%
v1.0.0
6%

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