Decision Workspace
btree_error vs thiserror vs error-stack
Side-by-side comparison of Rust crates
35
btree_error
growingv0.1.0
To avoid duplication, all bforest libs use the same error defined in this crate.
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
| btree_error | thiserror | error-stack | |
|---|---|---|---|
| Health Score | 35 | 77 | 74 |
| Total Downloads | 1.8K | 1.6B | 5.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 863.8K | 1.5K |
| Releases | 1 | 92 | 16 |
| Last Updated | 2079d ago | 16d ago | 59d ago |
| Age | 5y 8m | 7y | 4y 4m |
Health Breakdown
btree_error
Maintenance
1
Quality
17
Community
4
Popularity
4
Documentation
9
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
| btree_error | thiserror | error-stack | |
|---|---|---|---|
| Version | 0.1.0 | 2.0.21 | 0.8.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 5 | 24 |
| Crate Size | 8KB | 29KB | 92KB |
| Features | 4 | 2 | 11 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.77 | 1.83.0 |
| Owners | 1 | 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.
- •⚠ btree_error has not been updated in over a year.
- •btree_error, error-stack are pre-1.0 — API may change.