#arrayvec #stack #vector #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

0.7.7 Mar 3, 2025

#1343 in Data structures

Download history 120/week @ 2025-02-26 68/week @ 2025-03-05 42/week @ 2025-03-12 23/week @ 2025-03-26

170 downloads per month
Used in 2 crates

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