Decision Workspace
assert-struct vs one_assert vs selective_assertions
Side-by-side comparison of Rust crates
63
assert-struct
experimentalv0.4.2
A procedural macro for ergonomic structural assertions in tests
45
one_assert
growingv0.2.0
One assert! to replace them all
37
selective_assertions
growingv0.3.0
Macros for asserting equality of structs with the flexibility to exclude or focus on specific fields.
Core Metrics
| assert-struct | one_assert | selective_assertions | |
|---|---|---|---|
| Health Score | 63 | 45 | 37 |
| Total Downloads | 7.3K | 1.9K | 3.3K |
| 30d Downloads | 2.4K | 6 | 5 |
| Dependents | 10 | 0 | 0 |
| Releases | 7 | 3 | 3 |
| Last Updated | 4d ago | 147d ago | 597d ago |
| Age | 7m | 1y 8m | 1y 8m |
Health Breakdown
assert-struct
Maintenance
19
Quality
15
Community
9
Popularity
5
Documentation
15
one_assert
Maintenance
10
Quality
14
Community
5
Popularity
4
Documentation
12
selective_assertions
Maintenance
5
Quality
15
Community
3
Popularity
4
Documentation
10
Technical Details
| assert-struct | one_assert | selective_assertions | |
|---|---|---|---|
| Version | 0.4.2 | 0.2.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 6 | 5 | 3 |
| Crate Size | 30KB | 37KB | 5KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85 | 1.70.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •assert-struct leads with a health score of 63/100, but none of the options score above 80.
- •⚠ selective_assertions has not been updated in over a year.