Decision Workspace
anyhow vs thiserror vs error-stack
Side-by-side comparison of Rust crates
71
anyhow
stablev1.0.102
Flexible concrete Error type built on std::error::Error
72
thiserror
stablev2.0.18
derive(Error)
72
error-stack
growingv0.7.0
A context-aware error-handling library that supports arbitrary attached user data
Core Metrics
| anyhow | thiserror | error-stack | |
|---|---|---|---|
| Health Score | 71 | 72 | 72 |
| Total Downloads | 698.2M | 1.0B | 3.6M |
| 30d Downloads | 54.1M | 94.2M | 253.0K |
| Dependents | 439.1K | 526.8K | 1.3K |
| Releases | 104 | 89 | 14 |
| Last Updated | 95d ago | 127d ago | 60d ago |
| Age | 6y 7m | 6y 7m | 3y 11m |
Health Breakdown
anyhow
Maintenance
14
Quality
20
Community
14
Popularity
8
Documentation
15
thiserror
Maintenance
13
Quality
21
Community
15
Popularity
8
Documentation
15
error-stack
Maintenance
14
Quality
16
Community
19
Popularity
8
Documentation
15
Technical Details
| anyhow | thiserror | error-stack | |
|---|---|---|---|
| Version | 1.0.102 | 2.0.18 | 0.7.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 5 | 24 |
| Crate Size | 49KB | 29KB | 92KB |
| Features | 3 | 2 | 11 |
| Yanked % | 2.9% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.68 | 1.68 | 1.83.0 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •thiserror leads with a health score of 72/100, but none of the options score above 80.
- •thiserror is depended on by 526.8K crates — strongest ecosystem trust.
- •error-stack is pre-1.0 — API may change.