Decision Workspace
staticvec vs libstaticvec vs arrayvec
Side-by-side comparison of Rust crates
48
staticvec
growingv0.11.9
Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
34
libstaticvec
growingv0.2.1
Experimentally provides a cdylib wrapping a (currently minimal) subset of the functionality of StaticVec, for use from C or any language with dynamic library support.
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.
Core Metrics
| staticvec | libstaticvec | arrayvec | |
|---|---|---|---|
| Health Score | 48 | 34 | 75 |
| Total Downloads | 242.6K | 3.8K | 466.0M |
| 30d Downloads | 1.1K | 0 | 22.1M |
| Dependents | 65 | 0 | 17.6K |
| Releases | 96 | 3 | 57 |
| Last Updated | 1382d ago | 2407d ago | 11d ago |
| Age | 6y 11m | 6y 7m | 11y 1m |
Health Breakdown
staticvec
Maintenance
7
Quality
11
Community
11
Popularity
6
Documentation
13
libstaticvec
Maintenance
3
Quality
12
Community
6
Popularity
4
Documentation
9
arrayvec
Maintenance
17
Quality
16
Community
20
Popularity
8
Documentation
14
Technical Details
| staticvec | libstaticvec | arrayvec | |
|---|---|---|---|
| Version | 0.11.9 | 0.2.1 | 0.7.8 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 1 | 6 |
| Crate Size | 62KB | 8KB | 33KB |
| Features | 2 | 7 | 2 |
| Yanked % | 22.9% | 100.0% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | 1.51 |
| Owners | 1 | 1 | 2 (team) |
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.
- •⚠ staticvec, libstaticvec have not been updated in over a year.