Decision Workspace
match-variants vs match_any vs enpow
Side-by-side comparison of Rust crates
45
match-variants
experimentalv0.6.0
Rust procedural macros for applying the same expression to heterogeneous enum variants without a common trait.
51
match_any
growingv1.0.1
Provides a declarative macro, that matches an expression to any of the patterns and executes the same expression arm for any match.
48
enpow
growingv2.0.3
Generating methods for user defined enums as known from Option<T> or Result<T, E>
Core Metrics
| match-variants | match_any | enpow | |
|---|---|---|---|
| Health Score | 45 | 51 | 48 |
| Total Downloads | 98 | 9.5K | 8.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 8 | 0 |
| Releases | 6 | 3 | 7 |
| Last Updated | 32d ago | 2100d ago | 502d ago |
| Age | 1m | 5y 11m | 4y 1m |
Health Breakdown
match-variants
Maintenance
17
Quality
11
Community
5
Popularity
2
Documentation
10
match_any
Maintenance
4
Quality
21
Community
9
Popularity
5
Documentation
12
enpow
Maintenance
5
Quality
20
Community
6
Popularity
5
Documentation
12
Technical Details
| match-variants | match_any | enpow | |
|---|---|---|---|
| Version | 0.6.0 | 1.0.1 | 2.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 0 | 3 |
| Crate Size | 1.3MB | 7KB | 27KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | 1.61 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •match_any leads with a health score of 51/100, but none of the options score above 80.
- •⚠ match_any, enpow have not been updated in over a year.
- •match-variants is pre-1.0 — API may change.