Registry / utility / arrayvec

arrayvec

JSON →
library0.7.6rscratesunverified

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

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use arrayvec::ArrayVec;

Creates a fixed-capacity vector on the stack.

use arrayvec::ArrayVec; fn main() { let mut vec: ArrayVec<[i32; 4]> = ArrayVec::new(); vec.push(1); vec.push(2); assert_eq!(vec.len(), 2); }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
16 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources