Cargo Features
[dependencies]
serdect = { version = "0.3.0-rc.0", default-features = false, features = ["alloc", "derive", "zeroize"] }
- default = alloc
-
The
alloc
feature is set by default wheneverserdect
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Enables alloc of base16ct and serde
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
… - derive
-
serde:
Provide derive(Serialize, Deserialize) macros.