55 releases
0.7.6 | Aug 17, 2024 |
---|---|
0.7.4 | Jun 17, 2023 |
0.7.2 | Oct 28, 2021 |
0.7.1 | Jun 5, 2021 |
0.3.9 | Jul 30, 2015 |
#7 in Data structures
6,463,581 downloads per month
Used in 13,273 crates
(798 directly)
75KB
1.5K
SLoC
arrayvec
A vector with fixed capacity.
Please read the API documentation here
License
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.
lib.rs
:
arrayvec provides the types ArrayVec
and ArrayString
:
array-backed vector and string types, which store their contents inline.
The arrayvec package has the following cargo features:
-
std
- Optional, enabled by default
- Use libstd; disable to use
no_std
instead.
-
serde
- Optional
- Enable serialization for ArrayVec and ArrayString using serde 1.x
-
zeroize
- Optional
- Implement
Zeroize
for ArrayVec and ArrayString
Rust Version
This version of arrayvec requires Rust 1.51 or later.
Dependencies
~210KB