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 whenever eth2_hashing is added without default-features = false somewhere in the dependency tree.

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.

lazy_static zero_hash_cache