Cargo Features

serdect = { version = "0.3.0-pre.0", default-features = false, features = ["alloc", "zeroize"] }
default = alloc

The alloc feature is set by default whenever serdect is added without default-features = false somewhere in the dependency tree.

alloc default

Enables alloc of base16ct and serde


Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

Affects slice::deserialize_hex_or_bin_vec, slice::HexLowerOrBin, slice::HexUpperOrBin, slice::HexOrBin

Features from optional dependencies

zeroize implicit feature

Enables zeroize

optional features