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
somewhere in the dependency tree.default-features = false - std default = alloc
-
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