Decision Workspace
state-shift vs quick-error vs try_match
Side-by-side comparison of Rust crates
47
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.
53
try_match
growingv0.4.2
Fallible pattern matching with a function-like syntax
Core Metrics
| state-shift | quick-error | try_match | |
|---|---|---|---|
| Health Score | 47 | 59 | 53 |
| Total Downloads | 18.6K | 236.1M | 1.5M |
| 30d Downloads | 954 | 15.0M | 102.8K |
| Dependents | 30 | 3.8K | 63 |
| Releases | 10 | 16 | 9 |
| Last Updated | 372d ago | 1785d ago | 610d ago |
| Age | 1y 6m | 10y 6m | 6y 5m |
Health Breakdown
state-shift
Maintenance
8
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
7
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.8K 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.