Decision Workspace
struct_error vs error_set vs aok
Side-by-side comparison of Rust crates
39
struct_error
experimentalv0.0.1
Modern, flat, zero-cost error flow based on pure struct errors.
66
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.
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 | 39 | 66 | 53 |
| Total Downloads | 17 | 161.7K | 77.1K |
| 30d Downloads | 0 | 8.5K | 2.0K |
| Dependents | 0 | 46 | 3.7K |
| Releases | 1 | 35 | 17 |
| Last Updated | 82d ago | 13d ago | 263d ago |
| Age | 2m | 2y 3m | 2y 6m |
Health Breakdown
struct_error
Maintenance
8
Quality
14
Community
6
Popularity
1
Documentation
10
error_set
Maintenance
18
Quality
16
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.2 | 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 | 36KB | 4KB |
| Features | 0 | 2 | 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 66/100, but none of the options score above 80.
- •aok is depended on by 3.7K crates — strongest ecosystem trust.