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
growingv0.5.0
A procedural macro for ergonomic structural assertions in tests
60
assertables
stablev10.1.0
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.2K | 32.4K | 2.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 51 | 723 |
| Releases | 4 | 8 | 76 |
| Last Updated | 2139d ago | 56d ago | 131d ago |
| Age | 5y 10m | 1y 1m | 5y 6m |
Health Breakdown
assert-not-modified
Maintenance
7
Quality
21
Community
5
Popularity
5
Documentation
9
assert-struct
Maintenance
16
Quality
16
Community
11
Popularity
5
Documentation
15
assertables
Maintenance
13
Quality
15
Community
14
Popularity
8
Documentation
10
Technical Details
| assert-not-modified | assert-struct | assertables | |
|---|---|---|---|
| Version | 1.0.0 | 0.5.0 | 10.1.0 |
| 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 | 3 |
| Crate Size | 14KB | 28KB | 523KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 9.2% |
| Edition | 2018 | 2024 | 2024 |
| 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 (2.4M), suggesting wider adoption.
- •assertables is depended on by 723 crates — strongest ecosystem trust.
- •⚠ assert-not-modified has not been updated in over a year.
- •assert-struct is pre-1.0 — API may change.