Cargo Features

SmallVec has no features set by default.

[dependencies]
smallvec = { version = "2.0.0-alpha.9", features = ["std", "specialization", "may_dangle", "extract_if", "serde"] }
std
specialization
may_dangle
extract_if

Affects smallvec::ExtractIf

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework