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 whenever safe-transmute is added without default-features = false somewhere in the dependency tree.

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