Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

SmallVec has no features set by default.

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

Affects smallvec::ExtractIf

serde

Enables serde_core

Features from optional dependencies

bytes implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

malloc_size_of implicit feature

Enables malloc_size_of

malloc_size_of:

A an allocator-agnostic crate for measuring the heap size of a value