Cargo Features
[dependencies]
ethers-contract-abigen = { version = "2.0.14", default-features = false, features = ["providers", "online", "rustls", "openssl"] }
- default = providers
-
The
providers
feature is set by default wheneverethers-contract-abigen
is added without
somewhere in the dependency tree.default-features = false - providers default
- online = ethers-etherscan, reqwest, tokio, url
- rustls
-
Enables rustls of optional ethers-etherscan, rustls-tls of optional reqwest ^0.11.19
- openssl
-
Enables openssl of optional ethers-etherscan and native-tls of optional reqwest ^0.11.19
reqwest:
Enables native-tls specific functionality not available by default.
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.
- ethers-etherscan not wasm32 online?
- reqwest not wasm32 online?
-
Enables reqwest ^0.11.19
- tokio not wasm32 online?
- url not wasm32 online?