Cargo Features
[dependencies]
hex = { version = "0.4.3", default-features = false, features = ["std", "alloc", "serde"] }
- default = std
-
The
stdfeature is set by default wheneverhexis added withoutsomewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
-
Affects
hex::encode,hex::encode_upper,hex::decode,serde::serialize_upper,serde::serialize…