Decision Workspace
api-error-derive vs api-error vs thiserror
Side-by-side comparison of Rust crates
56
api-error-derive
experimentalv0.1.9
A derive macro for attaching HTTP status codes and user-facing messages to Rust error types.
47
api-error
experimentalv0.1.9
A derive macro for attaching HTTP status codes and user-facing messages to Rust error types.
77
thiserror
stablev2.0.21
derive(Error)
Core Metrics
| api-error-derive | api-error | thiserror | |
|---|---|---|---|
| Health Score | 56 | 47 | 77 |
| Total Downloads | 34.9K | 34.8K | 1.6B |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 10 | 0 | 863.8K |
| Releases | 10 | 10 | 92 |
| Last Updated | 73d ago | 73d ago | 16d ago |
| Age | 5m | 5m | 7y |
Health Breakdown
api-error-derive
Maintenance
15
Quality
14
Community
10
Popularity
5
Documentation
12
api-error
Maintenance
15
Quality
8
Community
7
Popularity
5
Documentation
12
thiserror
Maintenance
18
Quality
21
Community
15
Popularity
8
Documentation
15
Technical Details
| api-error-derive | api-error | thiserror | |
|---|---|---|---|
| Version | 0.1.9 | 0.1.9 | 2.0.21 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 8 | 5 |
| Crate Size | 10KB | 14KB | 29KB |
| Features | 1 | 3 | 2 |
| Yanked % | 0.0% | 30.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | 1.77 |
| Owners | 2 | 2 | 1 |
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.
- •api-error-derive, api-error are pre-1.0 — API may change.