Decision Workspace
matrix_match vs try_match vs matched_enums
Side-by-side comparison of Rust crates
46
matrix_match
growingv1.0.0
Macro to match on two values at the same time
53
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
52
matched_enums
growingv1.3.0
A macro that provides the option to bin enum attribute to match-statements. This makes it easier to convert values into enums.
Core Metrics
| matrix_match | try_match | matched_enums | |
|---|---|---|---|
| Health Score | 46 | 53 | 52 |
| Total Downloads | 2.8K | 1.5M | 1.9K |
| 30d Downloads | 59 | 102.8K | 6 |
| Dependents | 19 | 63 | 0 |
| Releases | 1 | 9 | 4 |
| Last Updated | 1146d ago | 610d ago | 230d ago |
| Age | 3y 1m | 6y 5m | 11m |
Health Breakdown
matrix_match
Maintenance
1
Quality
21
Community
10
Popularity
4
Documentation
10
try_match
Maintenance
5
Quality
18
Community
11
Popularity
7
Documentation
12
matched_enums
Maintenance
12
Quality
19
Community
5
Popularity
4
Documentation
12
Technical Details
| matrix_match | try_match | matched_enums | |
|---|---|---|---|
| Version | 1.0.0 | 0.4.2 | 1.3.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 2 | 3 |
| Crate Size | 8KB | 14KB | 13KB |
| Features | 0 | 5 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.56 | 1.88 |
| 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.
- •⚠ matrix_match, try_match have not been updated in over a year.
- •try_match is pre-1.0 — API may change.