Decision Workspace
metamatch vs trait-gen vs try_match
Side-by-side comparison of Rust crates
51
metamatch
growingv0.3.0
A proc-macro for generating repetitive match arms.
58
trait-gen
growingv2.0.6
Trait implementation generator macro
53
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
Core Metrics
| metamatch | trait-gen | try_match | |
|---|---|---|---|
| Health Score | 51 | 58 | 53 |
| Total Downloads | 10.5K | 67.6K | 1.5M |
| 30d Downloads | 148 | 2.3K | 102.8K |
| Dependents | 5 | 11 | 63 |
| Releases | 8 | 26 | 9 |
| Last Updated | 352d ago | 219d ago | 610d ago |
| Age | 1y 9m | 3y 1m | 6y 5m |
Health Breakdown
metamatch
Maintenance
8
Quality
15
Community
8
Popularity
5
Documentation
15
trait-gen
Maintenance
10
Quality
19
Community
8
Popularity
6
Documentation
15
try_match
Maintenance
5
Quality
18
Community
11
Popularity
7
Documentation
12
Technical Details
| metamatch | trait-gen | try_match | |
|---|---|---|---|
| Version | 0.3.0 | 2.0.6 | 0.4.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 2 |
| Crate Size | 42KB | 39KB | 14KB |
| Features | 0 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70.0 | 1.61.0 | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •trait-gen leads with a health score of 58/100, but none of the options score above 80.
- •try_match has the most downloads (1.5M), suggesting wider adoption.
- •⚠ try_match has not been updated in over a year.
- •metamatch, try_match are pre-1.0 — API may change.