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