Cargo Features
[dependencies]
twox-hash = { version = "1.6.3", default-features = false, features = ["std", "serialize", "digest", "digest_0_9", "digest_0_10"] }
- default = std
-
The
std
feature is set by default whenevertwox-hash
is added without
somewhere in the dependency tree.default-features = false - std default = rand
-
Affects
twox-hash::RandomXxHashBuilder
… - serialize = serde
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.
- rand std
- serde serialize?
- digest implicit feature
-
Enables digest ^0.8
digest:
Traits for cryptographic hash functions and message authentication codes
- digest_0_9 implicit feature
-
Enables digest ^0.9
- digest_0_10 implicit feature
-
Enables digest