Decision Workspace
arraybox vs arrayvec vs smallbox
Side-by-side comparison of Rust crates
48
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`.
75
arrayvec
growingv0.7.8
A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.
49
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 | 48 | 75 | 49 |
| Total Downloads | 13.5K | 466.0M | 1.2M |
| 30d Downloads | 0 | 22.1M | 37.1K |
| Dependents | 9 | 17.6K | 209 |
| Releases | 6 | 57 | 26 |
| Last Updated | 632d ago | 11d ago | 376d ago |
| Age | 3y 6m | 11y 1m | 9y 1m |
Health Breakdown
arraybox
Maintenance
5
Quality
16
Community
9
Popularity
5
Documentation
13
arrayvec
Maintenance
17
Quality
16
Community
20
Popularity
8
Documentation
14
smallbox
Maintenance
5
Quality
11
Community
11
Popularity
7
Documentation
15
Technical Details
| arraybox | arrayvec | smallbox | |
|---|---|---|---|
| Version | 0.1.4 | 0.7.8 | 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 | 33KB | 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 75/100, but none of the options score above 80.
- •arrayvec is depended on by 17.6K crates — strongest ecosystem trust.
- •⚠ arraybox, smallbox have not been updated in over a year.