Cargo Features
[dependencies]
molecule = { version = "0.8.0", default-features = false, features = ["std", "bytes_vec"] }
- default = std
-
The
std
feature is set by default whenevermolecule
is added without
somewhere in the dependency tree.default-features = false - std default = faster-hex
- bytes_vec
-
Provide impls for bytes in no_std environment without depending on atomic
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- faster-hex std
-
Enables faster-hex ^0.6