Cargo Features

[dependencies]
faster-hex = { version = "0.10.0", default-features = false, features = ["std", "alloc", "serde"] }
default = serde, std

These default features are set whenever faster-hex is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

alloc serde std

Affects encode::hex_string, encode::hex_string_upper

serde default = alloc

Enables serde