Skip to content
Alejandro Vaz edited this page Aug 24, 2026 · 10 revisions

smallvec v2

original specification

the original specification was written long ago by Matt, all of which is already implemented except for the allocator API (on #387).

These are changes that weren't ready in time for 1.0 (#73).

Forward port changes from the v1 branch:

Requires newer version of Rust than current minimum (1.36):

Depends on unstable Rust features:

Breaking API changes:

major changes

major changes v2 will introduce

  • allocator API
  • const generics type signature
  • removal of unnecessary macros
  • better const fn support
  • specialization
  • vec parity API

Clone this wiki locally