Decision Workspace
struct_error vs error_set vs wherror
Side-by-side comparison of Rust crates
37
struct_error
experimentalv0.0.1
Modern, flat, zero-cost error flow based on pure struct errors.
62
error_set
growingv0.9.2
Quick error declarations and automatic conversions between errors for precisely typed error handling. Inspired by Zig's error set type.
61
wherror
stablev2.4.0
The same derive(Error) macro thiserror provides + the features you want!
Core Metrics
| struct_error | error_set | wherror | |
|---|---|---|---|
| Health Score | 37 | 62 | 61 |
| Total Downloads | 24 | 244.3K | 5.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 52 | 25 |
| Releases | 1 | 35 | 9 |
| Last Updated | 170d ago | 101d ago | 47d ago |
| Age | 5m | 2y 6m | 1y 2m |
Health Breakdown
struct_error
Maintenance
5
Quality
14
Community
6
Popularity
2
Documentation
10
error_set
Maintenance
14
Quality
16
Community
11
Popularity
6
Documentation
15
wherror
Maintenance
16
Quality
16
Community
10
Popularity
4
Documentation
15
Technical Details
| struct_error | error_set | wherror | |
|---|---|---|---|
| Version | 0.0.1 | 0.9.2 | 2.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 6 | 5 |
| Crate Size | 5KB | 36KB | 89KB |
| Features | 0 | 2 | 2 |
| Yanked % | 0.0% | 0.0% | 11.1% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | 1.86 | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •error_set leads with a health score of 62/100, but none of the options score above 80.
- •struct_error, error_set are pre-1.0 — API may change.