Cargo Features
[dependencies]
ethers-types-rs = { version = "0.1.0", default-features = false, features = ["rust_crypto"] }
- default = rust_crypto
-
The
rust_crypto
feature is set by default wheneverethers-types-rs
is added without
somewhere in the dependency tree.default-features = false - rust_crypto default = k256
-
Affects
address::AddressEx.from_pub_key_compressed
,address::AddressEx.from_private_key
…
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