Decision Workspace
matched_enums vs match-by-hash vs extrude
Side-by-side comparison of Rust crates
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.
42
match-by-hash
growingv1.0.1
Match statement, but for any value and with a hash function
34
extrude
growingv0.1.0
A macro for unwrapping an enum value into an Option.
Core Metrics
| matched_enums | match-by-hash | extrude | |
|---|---|---|---|
| Health Score | 52 | 42 | 34 |
| Total Downloads | 1.9K | 3.9K | 2.7K |
| 30d Downloads | 6 | 5 | 8 |
| Dependents | 0 | 0 | 1 |
| Releases | 4 | 3 | 1 |
| Last Updated | 230d ago | 833d ago | 1604d ago |
| Age | 11m | 2y 3m | 4y 4m |
Health Breakdown
matched_enums
Maintenance
12
Quality
19
Community
5
Popularity
4
Documentation
12
match-by-hash
Maintenance
5
Quality
20
Community
3
Popularity
4
Documentation
10
extrude
Maintenance
1
Quality
16
Community
4
Popularity
4
Documentation
9
Technical Details
| matched_enums | match-by-hash | extrude | |
|---|---|---|---|
| Version | 1.3.0 | 1.0.1 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 3 | 3 | 0 |
| Crate Size | 13KB | 3KB | 9KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | 1.88 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •matched_enums leads with a health score of 52/100, but none of the options score above 80.
- •match-by-hash has the most downloads (3.9K), suggesting wider adoption.
- •⚠ match-by-hash, extrude have not been updated in over a year.
- •extrude is pre-1.0 — API may change.