Decision Workspace
error-chain vs thiserror vs error-stack
Side-by-side comparison of Rust crates
54
error-chain
growingv0.12.4
Yet another error boilerplate library.
77
thiserror
stablev2.0.21
derive(Error)
74
error-stack
growingv0.8.0
A context-aware error-handling library that supports arbitrary attached user data
Core Metrics
| error-chain | thiserror | error-stack | |
|---|---|---|---|
| Health Score | 54 | 77 | 74 |
| Total Downloads | 75.4M | 1.6B | 5.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7.9K | 863.8K | 1.5K |
| Releases | 29 | 92 | 16 |
| Last Updated | 2259d ago | 16d ago | 59d ago |
| Age | 10y 5m | 7y | 4y 4m |
Health Breakdown
error-chain
Maintenance
4
Quality
14
Community
17
Popularity
8
Documentation
11
thiserror
Maintenance
18
Quality
21
Community
15
Popularity
8
Documentation
15
error-stack
Maintenance
15
Quality
16
Community
20
Popularity
8
Documentation
15
Technical Details
| error-chain | thiserror | error-stack | |
|---|---|---|---|
| Version | 0.12.4 | 2.0.21 | 0.8.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 5 | 24 |
| Crate Size | 29KB | 29KB | 92KB |
| Features | 2 | 2 | 11 |
| Yanked % | 6.9% | 0.0% | 0.0% |
| Edition | — | 2021 | 2021 |
| MSRV | — | 1.77 | 1.83.0 |
| Owners | 4 | 1 | 3 (team) |
Links
Quick Verdict
- •thiserror leads with a health score of 77/100, but none of the options score above 80.
- •thiserror is depended on by 863.8K crates — strongest ecosystem trust.
- •⚠ error-chain has not been updated in over a year.
- •error-chain, error-stack are pre-1.0 — API may change.