Decision Workspace
enum_ext vs repr-discriminant-derive vs repr_fits
Side-by-side comparison of Rust crates
55
enum_ext
growingv0.6.1
procedural macro that enhances enums with additional methods and conversions
54
repr-discriminant-derive
growingv2.0.1
Derive macro to generate a method to access the discriminant of an enum variant with a repr(T) at runtime
47
repr_fits
experimentalv0.1.0
Compile-time bit-width checks for enum discriminants.
Core Metrics
| enum_ext | repr-discriminant-derive | repr_fits | |
|---|---|---|---|
| Health Score | 55 | 54 | 47 |
| Total Downloads | 13.0K | 2.4K | 602 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 7 | 0 |
| Releases | 18 | 11 | 1 |
| Last Updated | 5d ago | 10d ago | 77d ago |
| Age | 2y 5m | 11m | 2m |
Health Breakdown
enum_ext
Maintenance
19
Quality
12
Community
7
Popularity
5
Documentation
12
repr-discriminant-derive
Maintenance
18
Quality
12
Community
7
Popularity
4
Documentation
13
repr_fits
Maintenance
9
Quality
14
Community
6
Popularity
3
Documentation
15
Technical Details
| enum_ext | repr-discriminant-derive | repr_fits | |
|---|---|---|---|
| Version | 0.6.1 | 2.0.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 5 | 3 | 3 |
| Crate Size | 40KB | 3KB | 5KB |
| Features | 2 | 0 | 0 |
| Yanked % | 11.1% | 54.5% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | — | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum_ext leads with a health score of 55/100, but none of the options score above 80.
- •enum_ext, repr_fits are pre-1.0 — API may change.