Cargo Features
[dependencies]
safe-transmute = { version = "0.11.3", default-features = false, features = ["std", "alloc", "const_generics"] }
- default = std
-
The
std
feature is set by default wheneversafe-transmute
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
-
Affects
base::transmute_vec
,bool::transmute_bool_vec_permissive
,bool::transmute_bool_vec_pedantic
,error::IncompatibleVecTargetError
,full::transmute_vec
,to_bytes::transmute_to_bytes_vec
,trivial::transmute_trivial_vec
… - const_generics
-
Use const generics for array trait implementations