Decision Workspace
assert_size vs assert-within vs data-encoding-macro
Side-by-side comparison of Rust crates
44
assert_size
growingv0.2.0
A macro to assert that a type has a specific size at compile time
45
assert-within
growingv0.1.4
Macro for testing that (generic) floating point numbers are within some tolerance
63
data-encoding-macro
growingv0.1.21
Macros for data-encoding
Core Metrics
| assert_size | assert-within | data-encoding-macro | |
|---|---|---|---|
| Health Score | 44 | 45 | 63 |
| Total Downloads | 3.6K | 3.5K | 47.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 14 | 553 |
| Releases | 3 | 5 | 21 |
| Last Updated | 225d ago | 295d ago | 67d ago |
| Age | 2y 5m | 1y 5m | 8y 10m |
Health Breakdown
assert_size
Maintenance
8
Quality
16
Community
6
Popularity
4
Documentation
10
assert-within
Maintenance
8
Quality
15
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.21 |
| 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 553 crates — strongest ecosystem trust.