Decision Workspace
explicit-discriminant vs try_match vs enum_ext
Side-by-side comparison of Rust crates
43
explicit-discriminant
growingv0.1.4
Macro for enforcing enum discriminants
53
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
49
enum_ext
growingv0.6.0
procedural macro that enhances enums with additional methods and conversions
Core Metrics
| explicit-discriminant | try_match | enum_ext | |
|---|---|---|---|
| Health Score | 43 | 53 | 49 |
| Total Downloads | 18.0K | 1.8M | 12.1K |
| 30d Downloads | 0 | 41.1K | 0 |
| Dependents | 0 | 64 | 1 |
| Releases | 4 | 9 | 17 |
| Last Updated | 1062d ago | 718d ago | 113d ago |
| Age | 2y 11m | 6y 8m | 2y 2m |
Health Breakdown
explicit-discriminant
Maintenance
10
Quality
15
Community
5
Popularity
5
Documentation
8
try_match
Maintenance
5
Quality
18
Community
11
Popularity
7
Documentation
12
enum_ext
Maintenance
13
Quality
12
Community
7
Popularity
5
Documentation
12
Technical Details
| explicit-discriminant | try_match | enum_ext | |
|---|---|---|---|
| Version | 0.1.4 | 0.4.2 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 5 |
| Crate Size | 5KB | 14KB | 40KB |
| Features | 0 | 5 | 2 |
| Yanked % | 0.0% | 0.0% | 11.8% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.56 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •try_match leads with a health score of 53/100, but none of the options score above 80.
- •⚠ explicit-discriminant, try_match have not been updated in over a year.