#vector #array #stack #no-std

no-std arrayvec-const

A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.

1 unstable release

new 0.7.7 Mar 3, 2025

#1803 in Data structures

Download history 120/week @ 2025-02-26

120 downloads per month
Used in sort-const

MIT/Apache

76KB
1.5K SLoC

arrayvec

Crates.io: arrayvec-const Documentation Build Status

License: Apache OR License: MIT

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.

Dependencies

~220–420KB