rustio rustio.net
48

repr-discriminant-derive

v2.0.0 Experimental

Derive macro to generate a method to access the discriminant of an enum variant with a repr(T) at runtime

MIT Edition 2024
Rust patterns #macro#attribute#enum#repr#discriminant

Quick Verdict

  • โœ“Tiny footprint (3KB, 3 deps)
  • โœ“Permissive license (MIT)
  • !60% of releases were yanked

Security

Checking security advisories...
Downloads
565
Dependents
6
Releases
10
Size
3KB

Deep Insights

๐Ÿ“Š
Stable downloads

75 downloads in the last 30 days (3/day). Volume is roughly flat compared to the previous period.

๐Ÿชถ
Minimal dependencies

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

๐Ÿ“
Compact crate

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

โš ๏ธ
Notable yanked versions

60% of releases have been yanked. Check version history before pinning.

Health Breakdown

Maintenance 14/25

Recency, release consistency, active ratio

Quality 11/25

Yanked ratio, deps, size, maturity, features

Community 7/20

Reverse deps, ownership, ecosystem

Popularity 3/15

Downloads, momentum, growth trend

Documentation 13/15

Docs, repo, license, metadata

Download Trend

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

Top Dependents

Most downloaded crates that depend on repr-discriminant-derive

Version Adoption

v2.0.0
81%
v1.1.7
9%
v1.1.5
6%
v1.1.6
5%

Release Timeline

10 releases6 yankedsince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
10
2026
Less
More|
Yanked

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
6
crates depend on repr-discriminant-derive

Similar Crates