Cargo Features

[dependencies]
smallvec-wrapper = { version = "0.1.2", default-features = false, features = ["std", "either", "const_generics", "const_new", "drain_filter", "drain_keep_rest", "may_dangle", "specialization", "union", "write", "serde", "rkyv"] }
default = std

The std feature is set by default whenever smallvec-wrapper is added without default-features = false somewhere in the dependency tree.

std default = const_generics, const_new, write

Enables use_std of optional either and std of optional rkyv and optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

either serde?

Enables either

const_generics std

Enables const_generics of smallvec

const_new std

Enables const_new of smallvec

drain_filter

Enables drain_filter of smallvec

drain_keep_rest

Enables drain_keep_rest of smallvec

may_dangle

Enables may_dangle of smallvec

specialization

Enables specialization of smallvec

union

Enables union of smallvec

write std

Enables write of smallvec

serde

Enables serde, serde of either, serde of smallvec

Features from optional dependencies

rkyv implicit feature

Enables rkyv

rkyv:

Zero-copy deserialization framework for Rust