Decision Workspace
arraybox vs arrayvec vs smallbox
Side-by-side comparison of Rust crates
49
arraybox
growingv0.1.4
A box with fixed capacity, backed by a byte array (it can be stored on the stack too). Implements fixed capacity `ArrayBox`.
64
arrayvec
growingv0.7.6
A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.
51
smallbox
growingv0.8.8
`Small Box` optimization: store small item on stack and fallback to heap for large item.
Core Metrics
| arraybox | arrayvec | smallbox | |
|---|---|---|---|
| Health Score | 49 | 64 | 51 |
| Total Downloads | 13.2K | 362.1M | 978.7K |
| 30d Downloads | 93 | 23.0M | 75.6K |
| Dependents | 9 | 16.0K | 129 |
| Releases | 6 | 55 | 26 |
| Last Updated | 524d ago | 587d ago | 268d ago |
| Age | 3y 2m | 10y 10m | 8y 10m |
Health Breakdown
arraybox
Maintenance
6
Quality
16
Community
9
Popularity
5
Documentation
13
arrayvec
Maintenance
6
Quality
16
Community
20
Popularity
8
Documentation
14
smallbox
Maintenance
7
Quality
11
Community
11
Popularity
7
Documentation
15
Technical Details
| arraybox | arrayvec | smallbox | |
|---|---|---|---|
| Version | 0.1.4 | 0.7.6 | 0.8.8 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 6 | 2 |
| Crate Size | 3KB | 31KB | 16KB |
| Features | 0 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 34.6% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | 1.51 | 1.80 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •arrayvec leads with a health score of 64/100, but none of the options score above 80.
- •arrayvec is depended on by 16.0K crates — strongest ecosystem trust.
- •⚠ arraybox, arrayvec have not been updated in over a year.