fix(abigen): abigen feature required for bindings (#1508)
* fix(abigen): abigen feature required for bindings traits such as ethers::contract::EthDisplay require abigen * update changelog * abigen now uses re-exported version of serde_json
This commit is contained in:
parent
3766c2b47c
commit
c418f4ef34
|
@ -97,6 +97,8 @@
|
||||||
[#1498](https://github.com/gakonst/ethers-rs/pull/1498). Note: this changes
|
[#1498](https://github.com/gakonst/ethers-rs/pull/1498). Note: this changes
|
||||||
generated module names to snake case. For example, `MyContract` is now
|
generated module names to snake case. For example, `MyContract` is now
|
||||||
`my_contract` rather than `mycontract_mod`.
|
`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
|
### 0.6.0
|
||||||
|
|
||||||
|
|
|
@ -530,8 +530,7 @@ impl MultiBindingsInner {
|
||||||
writeln!(
|
writeln!(
|
||||||
toml,
|
toml,
|
||||||
r#"
|
r#"
|
||||||
ethers = {{ git = "https://github.com/gakonst/ethers-rs", default-features = false }}
|
ethers = {{ git = "https://github.com/gakonst/ethers-rs", default-features = false, features = ["abigen"] }}
|
||||||
serde_json = "1.0.79"
|
|
||||||
"#
|
"#
|
||||||
)?;
|
)?;
|
||||||
Ok(toml)
|
Ok(toml)
|
||||||
|
|
Loading…
Reference in New Issue