Cargo Features
[dependencies]
ethereum_hashing = { version = "1.0.0-beta.2", default-features = false, features = ["zero_hash_cache", "detect-cpufeatures"] }
- default = detect-cpufeatures, zero_hash_cache
-
These default features are set whenever
ethereum_hashing
is added without
somewhere in the dependency tree.default-features = false - zero_hash_cache default = lazy_static
-
Affects
ethereum_hashing::ZERO_HASHES_MAX_INDEX
… - detect-cpufeatures default = cpufeatures
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.