rustio rustio.net
59

repr-discriminant

v3.1.1 Stable

Trait to retrieve the discriminant of an enum variant with a repr(T) at runtime

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

Quick Verdict

  • โœ“Actively maintained (updated 10d ago)
  • โœ“Stable API (3.x for 1+ years)
  • โœ“Tiny footprint (3KB, 1 deps)
  • โœ“Permissive license (MIT)
  • !77% of releases were yanked

Security

Checking security advisories...
Downloads
4.1K
Dependents
72
Releases
13
Size
3KB

Deep Insights

๐Ÿ“‰
Download decline

255 downloads in the last 30 days, down 46% from the previous period. May indicate migration to alternatives.

โœ…
Stable API

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

๐Ÿชถ
Minimal dependencies

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

๐Ÿ“
Compact crate

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

โš ๏ธ
Notable yanked versions

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

๐ŸŒŸ
Used by top crates

Notable dependents include ezsp, apis-saltans-core, apis-saltans-zdp, apis-saltans-zcl. When high-quality crates choose repr-discriminant, it's a strong quality signal.

Health Breakdown

Maintenance 18/25

Recency, release consistency, active ratio

Quality 14/25

Yanked ratio, deps, size, maturity, features

Community 10/20

Reverse deps, ownership, ecosystem

Popularity 4/15

Downloads, momentum, growth trend

Documentation 13/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
0/day avg
08/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v3.0.1
95%
v3.1.1
4%
v2.0.2
1%

Release Timeline

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

Feature Flags

derive

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
72
crates depend on repr-discriminant

Similar Crates