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.
73
smallvec
stablev1.16.2
'Small vector' optimization: store up to a small number of items on the stack
63
data-encoding-macro
growingv0.1.21
Macros for data-encoding
Core Metrics
| smallnum | smallvec | data-encoding-macro | |
|---|---|---|---|
| Health Score | 45 | 73 | 63 |
| Total Downloads | 39.6K | 1.3B | 47.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 12 | 78.3K | 553 |
| Releases | 7 | 83 | 21 |
| Last Updated | 1763d ago | 7d ago | 67d ago |
| Age | 5y 4m | 11y 6m | 8y 10m |
Health Breakdown
smallnum
Maintenance
4
Quality
15
Community
9
Popularity
5
Documentation
12
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
9
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.16.2 | 0.1.21 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 6 | 2 |
| Crate Size | 8KB | 35KB | 4KB |
| Features | 0 | 9 | 0 |
| Yanked % | 0.0% | 24.1% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | 1.48 |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •smallvec leads with a health score of 73/100, but none of the options score above 80.
- •smallvec is depended on by 78.3K crates — strongest ecosystem trust.
- •⚠ smallnum has not been updated in over a year.
- •smallnum, data-encoding-macro are pre-1.0 — API may change.