Cargo Features

[dependencies]
hex-buffer-serde = { version = "0.4.0", default-features = false, features = ["alloc", "const_len"] }
default = alloc

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

alloc default

Enables types that depend on the alloc crate: Hex and HexForm.

Enables alloc of hex

Private dependencies (not exposed in the public API).

and alloc of serde

Public dependencies (present in the public API).

const_len

Enables types that depend on const generics: ConstHex and ConstHexForm.