Decision Workspace
assert-cmp vs assertables vs assert-struct
Side-by-side comparison of Rust crates
51
assert-cmp
growingv0.3.0
Convenient assertion macros that print the failed expressions and their evaluated values
64
assertables
stablev10.0.0
Assertables: assert macros for better testing, debugging, quality assurance, and runtime reliability.
60
assert-struct
experimentalv0.4.2
A procedural macro for ergonomic structural assertions in tests
Core Metrics
| assert-cmp | assertables | assert-struct | |
|---|---|---|---|
| Health Score | 51 | 64 | 60 |
| Total Downloads | 41.5K | 1.1M | 11.2K |
| 30d Downloads | 8.1K | 93.3K | 2.1K |
| Dependents | 53 | 488 | 34 |
| Releases | 5 | 75 | 7 |
| Last Updated | 342d ago | 2d ago | 63d ago |
| Age | 5y 1m | 5y 1m | 9m |
Health Breakdown
assert-cmp
Maintenance
6
Quality
16
Community
11
Popularity
6
Documentation
12
assertables
Maintenance
19
Quality
15
Community
13
Popularity
7
Documentation
10
assert-struct
Maintenance
15
Quality
15
Community
10
Popularity
5
Documentation
15
Technical Details
| assert-cmp | assertables | assert-struct | |
|---|---|---|---|
| Version | 0.3.0 | 10.0.0 | 0.4.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only | MIT |
| Dependencies | 0 | 3 | 6 |
| Crate Size | 4KB | 522KB | 30KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 9.3% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •assertables leads with a health score of 64/100, but none of the options score above 80.
- •assertables is depended on by 488 crates — strongest ecosystem trust.
- •assert-cmp, assert-struct are pre-1.0 — API may change.