Cargo Features
[dependencies]
ethereum-block = { version = "0.4.0", default-features = false, features = ["c-secp256k1", "rust-secp256k1"] }
- default = rust-secp256k1
-
The
rust-secp256k1
feature is set by default wheneverethereum-block
is added without
somewhere in the dependency tree.default-features = false - c-secp256k1 = secp256k1-plus
- rust-secp256k1 default = libsecp256k1
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.