Decision Workspace
assert-struct vs one_assert vs selective_assertions
Side-by-side comparison of Rust crates
60
assert-struct
experimentalv0.4.2
A procedural macro for ergonomic structural assertions in tests
44
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 | 60 | 44 | 37 |
| Total Downloads | 11.2K | 1.9K | 3.3K |
| 30d Downloads | 2.1K | 0 | 0 |
| Dependents | 34 | 0 | 0 |
| Releases | 7 | 3 | 3 |
| Last Updated | 63d ago | 206d ago | 656d ago |
| Age | 9m | 1y 10m | 1y 10m |
Health Breakdown
assert-struct
Maintenance
15
Quality
15
Community
10
Popularity
5
Documentation
15
one_assert
Maintenance
9
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 60/100, but none of the options score above 80.
- •⚠ selective_assertions has not been updated in over a year.