Decision Workspace
assert-not-modified vs assert-struct vs assertables
Side-by-side comparison of Rust crates
47
assert-not-modified
growingv1.0.0
Macro which, given a variable and a block of code, executes the block of code and checks that the variable has not changed.
63
assert-struct
experimentalv0.4.2
A procedural macro for ergonomic structural assertions in tests
60
assertables
stablev9.8.6
Assertables: assert macros for better testing, debugging, quality assurance, and runtime reliability.
Core Metrics
| assert-not-modified | assert-struct | assertables | |
|---|---|---|---|
| Health Score | 47 | 63 | 60 |
| Total Downloads | 6.1K | 7.3K | 929.9K |
| 30d Downloads | 7 | 2.4K | 92.2K |
| Dependents | 0 | 10 | 417 |
| Releases | 4 | 7 | 73 |
| Last Updated | 1943d ago | 4d ago | 36d ago |
| Age | 5y 4m | 7m | 4y 11m |
Health Breakdown
assert-not-modified
Maintenance
7
Quality
21
Community
5
Popularity
5
Documentation
9
assert-struct
Maintenance
19
Quality
15
Community
9
Popularity
5
Documentation
15
assertables
Maintenance
17
Quality
13
Community
13
Popularity
7
Documentation
10
Technical Details
| assert-not-modified | assert-struct | assertables | |
|---|---|---|---|
| Version | 1.0.0 | 0.4.2 | 9.8.6 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | GPL-3.0 | MIT | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only |
| Dependencies | 0 | 6 | 9 |
| Crate Size | 14KB | 30KB | 546KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 9.6% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | 1.85 | — |
| 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.
- •assertables has the most downloads (929.9K), suggesting wider adoption.
- •assertables is depended on by 417 crates — strongest ecosystem trust.
- •⚠ assert-not-modified has not been updated in over a year.
- •assert-struct is pre-1.0 — API may change.