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

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

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Features from optional dependencies

zeroize implicit feature

Enables zeroize

optional features