Decision Workspace
slice_pat vs try_match vs str-macro
Side-by-side comparison of Rust crates
44
slice_pat
experimentalv0.1.0
Proc macro exploding string and byte-string literals into slice patterns
54
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
52
str-macro
growingv1.0.1
The str!() macro, similar to vec![] but for strings
Core Metrics
| slice_pat | try_match | str-macro | |
|---|---|---|---|
| Health Score | 44 | 54 | 52 |
| Total Downloads | 31 | 2.2M | 1.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 64 | 99 |
| Releases | 1 | 9 | 7 |
| Last Updated | 74d ago | 806d ago | 359d ago |
| Age | 2m | 6y 11m | 7y 5m |
Health Breakdown
slice_pat
Maintenance
9
Quality
15
Community
6
Popularity
2
Documentation
12
try_match
Maintenance
5
Quality
18
Community
11
Popularity
8
Documentation
12
str-macro
Maintenance
5
Quality
21
Community
10
Popularity
7
Documentation
9
Technical Details
| slice_pat | try_match | str-macro | |
|---|---|---|---|
| Version | 0.1.0 | 0.4.2 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 2 | 0 |
| Crate Size | 10KB | 14KB | 4KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | 1.85 | 1.56 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •try_match leads with a health score of 54/100, but none of the options score above 80.
- •⚠ try_match has not been updated in over a year.
- •slice_pat, try_match are pre-1.0 — API may change.