Cargo Features
[dependencies]
eth2_hashing = { version = "0.2.0", default-features = false, features = ["zero_hash_cache"] }
- default = zero_hash_cache
-
The
zero_hash_cache
feature is set by default whenevereth2_hashing
is added without
somewhere in the dependency tree.default-features = false - zero_hash_cache default = lazy_static
-
Affects
eth2_hashing::ZERO_HASHES_MAX_INDEX
…
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.