Cargo Features
[dependencies]
ethers-middleware = { version = "2.0.14", default-features = false, features = ["celo", "etherscan", "optimism", "rustls", "openssl"] }
- default = etherscan, rustls
-
These default features are set whenever
ethers-middleware
is added without
somewhere in the dependency tree.default-features = false - celo
-
Enables celo of ethers-contract, ethers-core, ethers-providers, and ethers-signers
ethers-core:
celo support extends the transaction format with extra fields
- etherscan default
-
Enables ethers-etherscan
Affects
gas_oracle::etherscan
… - optimism
-
Enables optimism of ethers-contract, ethers-core, and ethers-providers
- rustls default
-
Enables rustls-tls of reqwest ^0.11.19
for gas oracles
- openssl
-
Enables native-tls of reqwest ^0.11.19