Decision Workspace
state-shift vs quick-error vs try_match
Side-by-side comparison of Rust crates
45
state-shift
growingv2.1.1
Macros for implementing Type-State-Pattern on your structs and methods
59
quick-error
growingv2.0.1
A macro which makes error types pleasant to write.
54
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
Core Metrics
| state-shift | quick-error | try_match | |
|---|---|---|---|
| Health Score | 45 | 59 | 54 |
| Total Downloads | 23.6K | 399.7M | 2.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 21 | 3.9K | 64 |
| Releases | 10 | 16 | 9 |
| Last Updated | 568d ago | 1981d ago | 806d ago |
| Age | 2y | 11y 1m | 6y 11m |
Health Breakdown
state-shift
Maintenance
6
Quality
14
Community
10
Popularity
5
Documentation
10
quick-error
Maintenance
4
Quality
21
Community
14
Popularity
8
Documentation
12
try_match
Maintenance
5
Quality
18
Community
11
Popularity
8
Documentation
12
Technical Details
| state-shift | quick-error | try_match | |
|---|---|---|---|
| Version | 2.1.1 | 2.0.1 | 0.4.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 0 | 2 |
| Crate Size | 20KB | 14KB | 14KB |
| Features | 0 | 0 | 5 |
| Yanked % | 10.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •quick-error leads with a health score of 59/100, but none of the options score above 80.
- •quick-error is depended on by 3.9K crates — strongest ecosystem trust.
- •⚠ state-shift, quick-error, try_match have not been updated in over a year.
- •try_match is pre-1.0 — API may change.