Decision Workspace
assert-within vs assert-struct vs assertables
Side-by-side comparison of Rust crates
45
assert-within
growingv0.1.4
Macro for testing that (generic) floating point numbers are within some tolerance
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-within | assert-struct | assertables | |
|---|---|---|---|
| Health Score | 45 | 63 | 60 |
| Total Downloads | 3.5K | 32.4K | 2.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 14 | 51 | 723 |
| Releases | 5 | 8 | 76 |
| Last Updated | 295d ago | 56d ago | 131d ago |
| Age | 1y 5m | 1y 1m | 5y 6m |
Health Breakdown
assert-within
Maintenance
8
Quality
15
Community
8
Popularity
4
Documentation
10
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-within | assert-struct | assertables | |
|---|---|---|---|
| Version | 0.1.4 | 0.5.0 | 10.1.0 |
| 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 | 3 |
| Crate Size | 3KB | 28KB | 523KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 9.2% |
| Edition | 2024 | 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-within, assert-struct are pre-1.0 — API may change.