Decision Workspace
declare vs error_set vs wherror
Side-by-side comparison of Rust crates
44
declare
growingv0.0.1
An error set macro that simplifies error management by providing a streamlined method for defining errors and easily converting between them. Inspired by Zig's error set type.
59
error_set
growingv0.9.1
Quick error declarations and automatic conversions between errors for precisely typed error handling. Inspired by Zig's error set type.
50
wherror
growingv2.3.1
The same derive(Error) macro thiserror provides + the features you want!
Core Metrics
| declare | error_set | wherror | |
|---|---|---|---|
| Health Score | 44 | 59 | 50 |
| Total Downloads | 1.0K | 116.4K | 3.4K |
| 30d Downloads | 4 | 11.7K | 201 |
| Dependents | 0 | 42 | 2 |
| Releases | 1 | 34 | 8 |
| Last Updated | 476d ago | 115d ago | 214d ago |
| Age | 1y 3m | 1y 11m | 8m |
Health Breakdown
declare
Maintenance
2
Quality
17
Community
6
Popularity
4
Documentation
15
error_set
Maintenance
13
Quality
15
Community
10
Popularity
6
Documentation
15
wherror
Maintenance
10
Quality
15
Community
6
Popularity
4
Documentation
15
Technical Details
| declare | error_set | wherror | |
|---|---|---|---|
| Version | 0.0.1 | 0.9.1 | 2.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 7 | 6 | 5 |
| Crate Size | 25KB | 34KB | 40KB |
| Features | 5 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 12.5% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.81 | 1.86 | 1.61 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •error_set leads with a health score of 59/100, but none of the options score above 80.
- •⚠ declare has not been updated in over a year.
- •declare, error_set are pre-1.0 — API may change.