Decision Workspace
const-buffer vs arrayvec vs arraystring
Side-by-side comparison of Rust crates
38
const-buffer
growingv0.1.2
A fixed-capacity memory buffer allocated on the stack using const generics.
71
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
arraystring
growingv0.3.0
Fixed capacity stack based generic string
Core Metrics
| const-buffer | arrayvec | arraystring | |
|---|---|---|---|
| Health Score | 38 | 71 | 49 |
| Total Downloads | 4.4K | 607.8M | 2.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 19.5K | 380 |
| Releases | 3 | 57 | 9 |
| Last Updated | 2215d ago | 99d ago | 2818d ago |
| Age | 6y 8m | 11y 4m | 7y 10m |
Health Breakdown
const-buffer
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
9
arrayvec
Maintenance
13
Quality
16
Community
20
Popularity
8
Documentation
14
arraystring
Maintenance
4
Quality
16
Community
12
Popularity
8
Documentation
9
Technical Details
| const-buffer | arrayvec | arraystring | |
|---|---|---|---|
| Version | 0.1.2 | 0.7.8 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 6 | 11 |
| Crate Size | 12KB | 33KB | 30KB |
| Features | 0 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | 1.51 | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •arrayvec leads with a health score of 71/100, but none of the options score above 80.
- •arrayvec is depended on by 19.5K crates — strongest ecosystem trust.
- •⚠ const-buffer, arraystring have not been updated in over a year.