Cargo Features

[dependencies]
ethers_primitives = { version = "0.2.2", default-features = false, features = ["rust_crypto"] }
default = rust_crypto

The rust_crypto feature is set by default whenever ethers_primitives is added without default-features = false somewhere in the dependency tree.

rust_crypto default = k256

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.

k256 rust_crypto

Enables k256 ^0.12.0

features