diff --git a/CHANGELOG.md b/CHANGELOG.md index 10851490..fefd4112 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -97,6 +97,8 @@ [#1498](https://github.com/gakonst/ethers-rs/pull/1498). Note: this changes generated module names to snake case. For example, `MyContract` is now `my_contract` rather than `mycontract_mod`. +- The `Cargo.toml` generated by bindings now includes the `abigen` feature on + ethers. [#1508](https://github.com/gakonst/ethers-rs/pull/1508) ### 0.6.0 diff --git a/ethers-contract/ethers-contract-abigen/src/multi.rs b/ethers-contract/ethers-contract-abigen/src/multi.rs index 0023f583..6266abcc 100644 --- a/ethers-contract/ethers-contract-abigen/src/multi.rs +++ b/ethers-contract/ethers-contract-abigen/src/multi.rs @@ -530,8 +530,7 @@ impl MultiBindingsInner { writeln!( toml, r#" -ethers = {{ git = "https://github.com/gakonst/ethers-rs", default-features = false }} -serde_json = "1.0.79" +ethers = {{ git = "https://github.com/gakonst/ethers-rs", default-features = false, features = ["abigen"] }} "# )?; Ok(toml)