chore: add abigen to default features (#1684)

* chore: add abigen to default features

* docs: update CHANGELOG.md
This commit is contained in:
DaniPopes 2022-09-10 01:19:29 +02:00 committed by GitHub
parent 26e74dd9cc
commit c341f31fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -265,6 +265,8 @@
### Unreleased
- Add abigen to default features
[#1684](https://github.com/gakonst/ethers-rs/pull/1684)
- Add extra Multicall helper methods
[#1666](https://github.com/gakonst/ethers-rs/pull/1666)
- Update Multicall to Multicall3

View File

@ -44,6 +44,8 @@ rustdoc-args = ["--cfg", "docsrs"]
features = ["full"]
[features]
default = ["abigen"]
celo = [
"ethers-core/celo",
"ethers-providers/celo",

View File

@ -38,6 +38,8 @@ ethers-solc = { version = "^0.17.0", path = "../ethers-solc", default-features =
tokio = { version = "1.18", default-features = false, features = ["macros"] }
[features]
default = ["abigen"]
eip712 = ["ethers-derive-eip712", "ethers-core/eip712"]
abigen = ["ethers-contract-abigen/reqwest", "ethers-contract-derive"]
abigen-offline = ["ethers-contract-abigen", "ethers-contract-derive"]