Decision Workspace
assert_let_bind vs assert_matches vs try_match
Side-by-side comparison of Rust crates
45
assert_let_bind
growingv0.1.1
A convenience macro for writing pattern-matching tests
58
assert_matches
growingv1.5.0
Asserts that a value matches a pattern
53
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
Core Metrics
| assert_let_bind | assert_matches | try_match | |
|---|---|---|---|
| Health Score | 45 | 58 | 53 |
| Total Downloads | 275.8K | 53.9M | 1.5M |
| 30d Downloads | 6.4K | 4.0M | 105.1K |
| Dependents | 10 | 23.7K | 63 |
| Releases | 2 | 7 | 9 |
| Last Updated | 1320d ago | 1877d ago | 610d ago |
| Age | 3y 7m | 10y 1m | 6y 5m |
Health Breakdown
assert_let_bind
Maintenance
4
Quality
16
Community
9
Popularity
6
Documentation
10
assert_matches
Maintenance
4
Quality
21
Community
14
Popularity
8
Documentation
11
try_match
Maintenance
5
Quality
18
Community
11
Popularity
7
Documentation
12
Technical Details
| assert_let_bind | assert_matches | try_match | |
|---|---|---|---|
| Version | 0.1.1 | 1.5.0 | 0.4.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 2 |
| Crate Size | 3KB | 8KB | 14KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | — | 2021 |
| MSRV | — | — | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •assert_matches leads with a health score of 58/100, but none of the options score above 80.
- •assert_matches is depended on by 23.7K crates — strongest ecosystem trust.
- •⚠ assert_let_bind, assert_matches, try_match have not been updated in over a year.
- •assert_let_bind, try_match are pre-1.0 — API may change.