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

#1082 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 14/week @ 2025-04-02 11/week @ 2025-04-09 26/week @ 2025-04-16 201/week @ 2025-04-23 17/week @ 2025-04-30 9/week @ 2025-05-07 14/week @ 2025-05-14

244 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