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 wheneversmallvec-wrapper
is added without
somewhere in the dependency tree.default-features = false - 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
- 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
- write
- serde
- rkyv16
- rkyv32
- rkyv64
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.