Decision Workspace
explicit-discriminant vs enum_ext vs try_match
Side-by-side comparison of Rust crates
43
explicit-discriminant
growingv0.1.4
Macro for enforcing enum discriminants
55
enum_ext
growingv0.6.0
procedural macro that enhances enums with additional methods and conversions
53
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
Core Metrics
| explicit-discriminant | enum_ext | try_match | |
|---|---|---|---|
| Health Score | 43 | 55 | 53 |
| Total Downloads | 18.0K | 11.3K | 1.5M |
| 30d Downloads | 8 | 266 | 102.8K |
| Dependents | 0 | 1 | 63 |
| Releases | 4 | 17 | 9 |
| Last Updated | 954d ago | 5d ago | 610d ago |
| Age | 2y 7m | 1y 10m | 6y 5m |
Health Breakdown
explicit-discriminant
Maintenance
10
Quality
15
Community
5
Popularity
5
Documentation
8
enum_ext
Maintenance
19
Quality
12
Community
7
Popularity
5
Documentation
12
try_match
Maintenance
5
Quality
18
Community
11
Popularity
7
Documentation
12
Technical Details
| explicit-discriminant | enum_ext | try_match | |
|---|---|---|---|
| Version | 0.1.4 | 0.6.0 | 0.4.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 5 | 2 |
| Crate Size | 5KB | 40KB | 14KB |
| Features | 0 | 2 | 5 |
| Yanked % | 0.0% | 11.8% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.56 |
| 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.
- •try_match has the most downloads (1.5M), suggesting wider adoption.
- •⚠ explicit-discriminant, try_match have not been updated in over a year.