Decision Workspace
errorlit vs struct_error_macros vs error_set
Side-by-side comparison of Rust crates
40
errorlit
experimentalv0.0.2
Macro for creating error literals
43
struct_error_macros
experimentalv0.0.1
Procedural macros for struct_error: #[error], #[united_error], #[throws], match_error!
58
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.
Core Metrics
| errorlit | struct_error_macros | error_set | |
|---|---|---|---|
| Health Score | 40 | 43 | 58 |
| Total Downloads | 465 | 24 | 138.0K |
| 30d Downloads | 0 | 0 | 13.7K |
| Dependents | 0 | 1 | 45 |
| Releases | 2 | 1 | 34 |
| Last Updated | 155d ago | 33d ago | 174d ago |
| Age | 10m | 1m | 2y 1m |
Health Breakdown
errorlit
Maintenance
10
Quality
14
Community
6
Popularity
3
Documentation
7
struct_error_macros
Maintenance
11
Quality
13
Community
7
Popularity
2
Documentation
10
error_set
Maintenance
11
Quality
15
Community
11
Popularity
6
Documentation
15
Technical Details
| errorlit | struct_error_macros | error_set | |
|---|---|---|---|
| Version | 0.0.2 | 0.0.1 | 0.9.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 3 | 4 | 6 |
| Crate Size | 2KB | 18KB | 34KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.86 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •error_set leads with a health score of 58/100, but none of the options score above 80.