Decision Workspace
assert-within vs assert-struct vs assertables
Side-by-side comparison of Rust crates
49
assert-within
experimentalv0.1.4
Macro for testing that (generic) floating point numbers are within some tolerance
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-within | assert-struct | assertables | |
|---|---|---|---|
| Health Score | 49 | 63 | 60 |
| Total Downloads | 3.2K | 7.3K | 929.9K |
| 30d Downloads | 54 | 2.4K | 92.2K |
| Dependents | 14 | 10 | 417 |
| Releases | 5 | 7 | 73 |
| Last Updated | 99d ago | 4d ago | 36d ago |
| Age | 11m | 7m | 4y 11m |
Health Breakdown
assert-within
Maintenance
13
Quality
14
Community
8
Popularity
4
Documentation
10
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-within | assert-struct | assertables | |
|---|---|---|---|
| Version | 0.1.4 | 0.4.2 | 9.8.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only |
| Dependencies | 1 | 6 | 9 |
| Crate Size | 3KB | 30KB | 546KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 9.6% |
| Edition | 2024 | 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-within, assert-struct are pre-1.0 — API may change.