Stack-allocated arrays

RecipeCratesCategories
arrayvecarrayveccat-data-structures
smallvecsmallveccat-data-structures
tinyvectinyveccat-data-structures

arrayvec

arrayvec arrayvec-crates.io arrayvec-github arrayvec-lib.rs cat-data-structures cat-no-std

Arrays that are ONLY stack-allocated with fixed capacity.

smallvec

smallvec smallvec-crates.io smallvec-github smallvec-lib.rs cat-data-structures

Arrays that are stack-allocated with fallback to the heap if the fixed stack capacity is exceeded.

tinyvec

tinyvec tinyvec-crates.io tinyvec-github tinyvec-lib.rs cat-data-structures cat-no-std

Stack-allocated arrays in 100% safe Rust code. tinyvec requires items to implement the Default trait.