Decision Workspace
smallnum vs smallvec vs data-encoding-macro
Side-by-side comparison of Rust crates
45
smallnum
growingv0.4.1
Compile-time size optimization for numeric primitives.
70
smallvec
stablev1.15.1
'Small vector' optimization: store up to a small number of items on the stack
63
data-encoding-macro
growingv0.1.19
Macros for data-encoding
Core Metrics
| smallnum | smallvec | data-encoding-macro | |
|---|---|---|---|
| Health Score | 45 | 70 | 63 |
| Total Downloads | 34.0K | 730.7M | 29.8M |
| 30d Downloads | 1.4K | 47.5M | 1.9M |
| Dependents | 12 | 51.1K | 442 |
| Releases | 7 | 76 | 19 |
| Last Updated | 1567d ago | 131d ago | 76d ago |
| Age | 4y 9m | 10y 11m | 8y 4m |
Health Breakdown
smallnum
Maintenance
4
Quality
15
Community
9
Popularity
5
Documentation
12
smallvec
Maintenance
14
Quality
17
Community
19
Popularity
8
Documentation
12
data-encoding-macro
Maintenance
13
Quality
15
Community
13
Popularity
8
Documentation
14
Technical Details
| smallnum | smallvec | data-encoding-macro | |
|---|---|---|---|
| Version | 0.4.1 | 1.15.1 | 0.1.19 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 8 | 2 |
| Crate Size | 8KB | 38KB | 4KB |
| Features | 0 | 10 | 0 |
| Yanked % | 0.0% | 26.3% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | 1.48 |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •smallvec leads with a health score of 70/100, but none of the options score above 80.
- •smallvec is depended on by 51.1K crates — strongest ecosystem trust.
- •⚠ smallnum has not been updated in over a year.
- •smallnum, data-encoding-macro are pre-1.0 — API may change.