$ tinyvec

v1.11.0MAJOR UPDATE

`tinyvec` provides 100% safe vec-like data structures.

Downloads: 434.1M
Recent: 62.9M
Versions: 38
Updated: March 14, 2026

Latest Update Summary

Crate

Name: tinyvec New version: 1.11.0 Release date: 2026-03-14T19:27:39.142306Z

Crate readme

Short description A 100% safe crate of vec-like types.

Long description The provided types include ArrayVec, an array-backed vec-like structure that panics on overflow; SliceVec, which uses a &mut [T] as the backing data; and TinyVec, an enum that's either an Inline(ArrayVec) or a Heap(Vec). TinyVec automatically transitions to Heap when it would overflow its array. The element type must implement Default for safety.

Features • 100% safe code • Array-backed structures • Automatic transition from inline to heap storage • No unsafe code used

Code Examples

Linkshttps://crates.io/crates/tinyvechttps://docs.rs/tinyvec/

Release info

Release version: N/A

Release description N/A

Code Examples N/A

Minor update: 1.10.0 → 1.11.0

$ DOWNLOADS TREND

331.2M434.1M

$ VERSION HISTORY

v1.11.0March 14, 2026
v1.10.0August 18, 2025

$ LINKS

$ INSTALL

cargo add tinyvec

Or add to Cargo.toml: tinyvec = "1.11.0"