Decision Workspace
assert_size vs assert-within vs data-encoding-macro
Side-by-side comparison of Rust crates
51
assert_size
growingv0.2.0
A macro to assert that a type has a specific size at compile time
49
assert-within
experimentalv0.1.4
Macro for testing that (generic) floating point numbers are within some tolerance
63
data-encoding-macro
growingv0.1.19
Macros for data-encoding
Core Metrics
| assert_size | assert-within | data-encoding-macro | |
|---|---|---|---|
| Health Score | 51 | 49 | 63 |
| Total Downloads | 3.4K | 3.2K | 29.8M |
| 30d Downloads | 7 | 51 | 1.9M |
| Dependents | 0 | 14 | 442 |
| Releases | 3 | 5 | 19 |
| Last Updated | 29d ago | 99d ago | 76d ago |
| Age | 1y 11m | 11m | 8y 4m |
Health Breakdown
assert_size
Maintenance
15
Quality
16
Community
6
Popularity
4
Documentation
10
assert-within
Maintenance
13
Quality
14
Community
8
Popularity
4
Documentation
10
data-encoding-macro
Maintenance
13
Quality
15
Community
13
Popularity
8
Documentation
14
Technical Details
| assert_size | assert-within | data-encoding-macro | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.4 | 0.1.19 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 1 | 2 |
| Crate Size | 6KB | 3KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | — | — | 1.48 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •data-encoding-macro leads with a health score of 63/100, but none of the options score above 80.
- •data-encoding-macro is depended on by 442 crates — strongest ecosystem trust.