Decision Workspace
api-error vs api-error-derive vs thiserror
Side-by-side comparison of Rust crates
44
api-error
experimentalv0.1.8
A derive macro for attaching HTTP status codes and user-facing messages to Rust error types.
53
api-error-derive
experimentalv0.1.8
A derive macro for attaching HTTP status codes and user-facing messages to Rust error types.
72
thiserror
stablev2.0.18
derive(Error)
Core Metrics
| api-error | api-error-derive | thiserror | |
|---|---|---|---|
| Health Score | 44 | 53 | 72 |
| Total Downloads | 1.5K | 1.6K | 1.0B |
| 30d Downloads | 1.4K | 1.5K | 94.2M |
| Dependents | 0 | 9 | 526.8K |
| Releases | 9 | 9 | 89 |
| Last Updated | 5d ago | 5d ago | 127d ago |
| Age | 1m | 1m | 6y 7m |
Health Breakdown
api-error
Maintenance
13
Quality
8
Community
7
Popularity
4
Documentation
12
api-error-derive
Maintenance
13
Quality
14
Community
10
Popularity
4
Documentation
12
thiserror
Maintenance
13
Quality
21
Community
15
Popularity
8
Documentation
15
Technical Details
| api-error | api-error-derive | thiserror | |
|---|---|---|---|
| Version | 0.1.8 | 0.1.8 | 2.0.18 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 8 | 4 | 5 |
| Crate Size | 14KB | 10KB | 29KB |
| Features | 3 | 1 | 2 |
| Yanked % | 33.3% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | 1.68 |
| Owners | 2 | 2 | 1 |
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.
- •api-error, api-error-derive are pre-1.0 — API may change.