Decision Workspace
should_error vs derive_arbitrary vs assert-struct
Side-by-side comparison of Rust crates
39
should_error
growingv0.1.1
The test should fail with Err.
78
derive_arbitrary
stablev1.5.0
Derives arbitrary traits
63
assert-struct
growingv0.5.0
A procedural macro for ergonomic structural assertions in tests
Core Metrics
| should_error | derive_arbitrary | assert-struct | |
|---|---|---|---|
| Health Score | 39 | 78 | 63 |
| Total Downloads | 1.3K | 124.7M | 32.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 520 | 51 |
| Releases | 2 | 34 | 8 |
| Last Updated | 562d ago | 3d ago | 56d ago |
| Age | 1y 6m | 7y 12m | 1y 1m |
Health Breakdown
should_error
Maintenance
5
Quality
15
Community
5
Popularity
4
Documentation
10
derive_arbitrary
Maintenance
18
Quality
20
Community
17
Popularity
8
Documentation
15
assert-struct
Maintenance
16
Quality
16
Community
11
Popularity
5
Documentation
15
Technical Details
| should_error | derive_arbitrary | assert-struct | |
|---|---|---|---|
| Version | 0.1.1 | 1.5.0 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 3 | 6 |
| Crate Size | 2KB | 12KB | 28KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.71.0 | 1.85 |
| Owners | 1 | 4 (team) | 1 |
Links
Quick Verdict
- •derive_arbitrary leads with a health score of 78/100, but none of the options score above 80.
- •derive_arbitrary is depended on by 520 crates — strongest ecosystem trust.
- •⚠ should_error has not been updated in over a year.
- •should_error, assert-struct are pre-1.0 — API may change.