Cargo Features

[dependencies]
smallvec-wrapper = { version = "0.1.0", default-features = false, features = ["std", "either", "const_generics", "const_new", "debugger_visualizer", "drain_filter", "drain_keep_rest", "may_dangle", "specialization", "union", "write", "serde", "rkyv16", "rkyv32", "rkyv64"] }
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

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

Enables const_generics of smallvec

const_new

Enables const_new of smallvec

debugger_visualizer

Enables debugger_visualizer 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

Enables write of smallvec

serde

Enables serde, serde of either, serde of smallvec

rkyv16

Enables size_16 of rkyv

rkyv32

Enables size_32 of rkyv

rkyv64

Enables size_64 of rkyv

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rkyv rkyv16? rkyv32? rkyv64?