Decision Workspace
bind_match vs try_match vs assert_let_bind
Side-by-side comparison of Rust crates
44
bind_match
growingv0.1.2
Convenience macro similar to `matches!` but binds to variables in the pattern and returns an `Option` of the result.
53
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
45
assert_let_bind
growingv0.1.1
A convenience macro for writing pattern-matching tests
Core Metrics
| bind_match | try_match | assert_let_bind | |
|---|---|---|---|
| Health Score | 44 | 53 | 45 |
| Total Downloads | 46.6K | 1.5M | 275.8K |
| 30d Downloads | 214 | 105.1K | 6.4K |
| Dependents | 1 | 63 | 10 |
| Releases | 3 | 9 | 2 |
| Last Updated | 1906d ago | 610d ago | 1320d ago |
| Age | 5y 2m | 6y 5m | 3y 7m |
Health Breakdown
bind_match
Maintenance
4
Quality
16
Community
6
Popularity
6
Documentation
12
try_match
Maintenance
5
Quality
18
Community
11
Popularity
7
Documentation
12
assert_let_bind
Maintenance
4
Quality
16
Community
9
Popularity
6
Documentation
10
Technical Details
| bind_match | try_match | assert_let_bind | |
|---|---|---|---|
| Version | 0.1.2 | 0.4.2 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 2 | 0 |
| Crate Size | 3KB | 14KB | 3KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.56 | — |
| 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.
- •⚠ bind_match, try_match, assert_let_bind have not been updated in over a year.