Cargo Features
[dependencies]
ethers_wallet = { version = "0.2.2", default-features = false, features = ["rust_crypto", "openssl"] }
- default = rust_crypto
-
The
rust_crypto
feature is set by default wheneverethers_wallet
is added without
somewhere in the dependency tree.default-features = false - rust_crypto default = aes, ctr, digest, hmac, k256, pbkdf2, scrypt, sha2, sha3
-
Affects
hash::pbkdf2
,wallet::Wallet
… - openssl
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
rust_crypto
- sha2 rust_crypto
- hmac rust_crypto
- scrypt rust_crypto
-
Enables scrypt ^0.10.0
- aes rust_crypto
- ctr rust_crypto
- digest rust_crypto
- sha3 rust_crypto
- pbkdf2 rust_crypto
-
Enables pbkdf2 ^0.11