NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #32 most downloaded on crates.io
'Small vector' optimization: store up to a small number of items on the stack
Latest stable
1.16.6
Last release 4 days ago
18 Nov 2026
Ships unpredictably
gaps range from 8 days to 7 months
Most releases are documented
notes for 42 of 52 stable releases
20 versions withdrawn
withdrawn after publishing
12 years old
90 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Fix possible over-allocation in from_slice
from_slice (#122)specialization feature for from_slice optimization (#123)from_raw_parts constructor (#130)Some code cleanup and testing improvements (#112, #113, #114, #120)
into_inner methodfrom_buf_and_len and from_buf_and_len_uncheckedfrom_sliceYour coding agent can read these notes before it upgrades. Set up the MCP server →
Extend the smallvec! macro to work with non-Copy items
smallvec! macro to work with non-Copy items (#107)Debug formatting implementation (#109)Fix possible double-free in insert_many when passed an iterator that panics in next
insert_many when passed an iterator that panics in next (#103)union feature (disabled by default) that reduces the size of the SmallVec struct (#94)extend and from_elem (#93)drop (#100)std feature on current Rust nightly (#104)bincode (#102)Nothing published for this version
Implement Array trait for [T; 0]
smallvec! macro (#90)Array trait for [T; 0] (#88)resize method (#82)Breaking change: Remove deprecated SmallVecN type aliases and push_all_move method
SmallVecN type aliases and push_all_move method (#77)retain pass &mut T to its predicate (#61)dedup, dedup_by, and dedup_by_key (#72)VecLike trait in favor of standard library traits (#74)Clone and Deserialize implementations to avoid unnecessary reallocation (#71)extend_from_slice and insert_from_slice to use copy_nonoverlapping (#76)Fix possible double-free on panic in insert_many (#96).
insert_many (#96).Breaking change: Remove the optional heapsize dependency.
heapsize dependency. (#68)From<Vec<T>> and From<[T; N]>.Fix possible double-free on panic in insert_many (#96).
insert_many (#96).Add as_slice and as_mut_slice methods (#65).
as_slice and as_mut_slice methods (#65).with_capacity constructor (#63).* Added retain method (#59).
retain method (#59).Add SmallVec::from_buf constructor (#56).
SmallVec::from_buf constructor (#56).serde (de-)serialization support (#57).SmallVec<[u8; N]> implements the Write trait (#52).
New features:
no_std support (#49).SmallVec<[u8; N]> implements the Write trait (#52).ExtendFromSlice trait for both Vec and SmallVec (#54).Update to heapsize 0.4 [breaking change if the optional "heapsize" feature is enabled].
heapsize 0.4 [breaking change if the optional "heapsize" feature is enabled].Fix possible double-free on panic in insert_many (#96).
insert_many (#96).SmallVec::from_vec creates a SmallVec from a Vec without cloning or re-allocating (#48).
SmallVec::from_vec creates a SmallVec from a Vec without cloning or re-allocating (#48).extend_from_slice and insert_from_slice
insert_many (#28)extend_from_slice and insert_from_slice (#29)from_slice (#42)into_vec (#45)VecLike::len (use the inherent len slice method instead) [breaking change] (#38).
SmallVec implements the Default trait (#30).push_all_move (use extend instead)SmallVec2). Use SmallVec<A>' instead (e.g. SmallVec<[T; 2]>`)VecLike::len (use the inherent len slice method instead) [breaking change] (#38).grow (#40).shrink_to_fit will move data to the stack when possible (#40).There is no version 0.3.0. This version was published as 0.3.1 instead of 0.3.0 by accident.
Nothing published for this version
VecLike requires the Extend trait [breaking change] (#27).
Extend trait [breaking change] (#27).Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.