Decision Workspace
struct_error vs error_set vs aok
Side-by-side comparison of Rust crates
42
struct_error
experimentalv0.0.1
Modern, flat, zero-cost error flow based on pure struct errors.
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.
53
aok
growingv0.1.18
Simplified error handling with anyhow. throw! macro returns directly / 简化 anyhow 错误处理。throw! 宏直接返回
Core Metrics
| struct_error | error_set | aok | |
|---|---|---|---|
| Health Score | 42 | 58 | 53 |
| Total Downloads | 13 | 138.0K | 71.0K |
| 30d Downloads | 0 | 13.7K | 4.0K |
| Dependents | 0 | 45 | 3.5K |
| Releases | 1 | 34 | 17 |
| Last Updated | 33d ago | 174d ago | 215d ago |
| Age | 1m | 2y 1m | 2y 4m |
Health Breakdown
struct_error
Maintenance
11
Quality
14
Community
6
Popularity
1
Documentation
10
error_set
Maintenance
11
Quality
15
Community
11
Popularity
6
Documentation
15
aok
Maintenance
10
Quality
15
Community
14
Popularity
6
Documentation
8
Technical Details
| struct_error | error_set | aok | |
|---|---|---|---|
| Version | 0.0.1 | 0.9.1 | 0.1.18 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 | MulanPSL-2.0 |
| Dependencies | 2 | 6 | 1 |
| Crate Size | 5KB | 34KB | 4KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.86 | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •error_set leads with a health score of 58/100, but none of the options score above 80.
- •aok is depended on by 3.5K crates — strongest ecosystem trust.