Release: 0.4 (#382)

* fix(abigen): use `no_deps` to avoid touching a Cargo.lock

* fix: use once_cell default features

* release: publish versions

core/providers/signers: 0.4.6
contract: 0.4.7
middleware: 0.4.8
ethers: 0.4.0
This commit is contained in:
Georgios Konstantopoulos 2021-08-16 11:54:12 +03:00 committed by GitHub
parent ba5f650dec
commit 6cb7cac675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 37 additions and 37 deletions

14
Cargo.lock generated
View File

@ -814,7 +814,7 @@ dependencies = [
[[package]] [[package]]
name = "ethers-contract" name = "ethers-contract"
version = "0.4.0" version = "0.4.7"
dependencies = [ dependencies = [
"ethers", "ethers",
"ethers-contract-abigen", "ethers-contract-abigen",
@ -835,7 +835,7 @@ dependencies = [
[[package]] [[package]]
name = "ethers-contract-abigen" name = "ethers-contract-abigen"
version = "0.4.0" version = "0.4.7"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"anyhow", "anyhow",
@ -854,7 +854,7 @@ dependencies = [
[[package]] [[package]]
name = "ethers-contract-derive" name = "ethers-contract-derive"
version = "0.4.0" version = "0.4.7"
dependencies = [ dependencies = [
"ethers-contract-abigen", "ethers-contract-abigen",
"ethers-core", "ethers-core",
@ -867,7 +867,7 @@ dependencies = [
[[package]] [[package]]
name = "ethers-core" name = "ethers-core"
version = "0.4.0" version = "0.4.6"
dependencies = [ dependencies = [
"arrayvec 0.7.1", "arrayvec 0.7.1",
"bincode", "bincode",
@ -895,7 +895,7 @@ dependencies = [
[[package]] [[package]]
name = "ethers-middleware" name = "ethers-middleware"
version = "0.4.0" version = "0.4.8"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"ethers", "ethers",
@ -919,7 +919,7 @@ dependencies = [
[[package]] [[package]]
name = "ethers-providers" name = "ethers-providers"
version = "0.4.0" version = "0.4.6"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"auto_impl", "auto_impl",
@ -947,7 +947,7 @@ dependencies = [
[[package]] [[package]]
name = "ethers-signers" name = "ethers-signers"
version = "0.4.0" version = "0.4.6"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"coins-bip32", "coins-bip32",

View File

@ -1,7 +1,7 @@
[package] [package]
name = "ethers-contract" name = "ethers-contract"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "0.4.0" version = "0.4.7"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"] authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
description = "Smart contract bindings for the ethers-rs crate" description = "Smart contract bindings for the ethers-rs crate"
@ -10,27 +10,26 @@ repository = "https://github.com/gakonst/ethers-rs"
keywords = ["ethereum", "web3", "celo", "ethers"] keywords = ["ethereum", "web3", "celo", "ethers"]
[dependencies] [dependencies]
ethers-providers = { version = "0.4.0", path = "../ethers-providers", default-features = false } ethers-providers = { version = "0.4.6", path = "../ethers-providers", default-features = false }
ethers-core = { version = "0.4.0", path = "../ethers-core", default-features = false } ethers-core = { version = "0.4.6", path = "../ethers-core", default-features = false }
ethers-contract-abigen = { version = "0.4.7", path = "ethers-contract-abigen", optional = true }
ethers-contract-abigen = { version = "0.4.0", path = "ethers-contract-abigen", optional = true } ethers-contract-derive = { version = "0.4.7", path = "ethers-contract-derive", optional = true }
ethers-contract-derive = { version = "0.4.0", path = "ethers-contract-derive", optional = true }
serde = { version = "1.0.124", default-features = false } serde = { version = "1.0.124", default-features = false }
serde_json = { version = "1.0.64", default-features = false } serde_json = { version = "1.0.64", default-features = false }
thiserror = { version = "1.0.26", default-features = false } thiserror = { version = "1.0.26", default-features = false }
once_cell = { version = "1.8.0", default-features = false } once_cell = { version = "1.8.0" }
pin-project = {version = "1.0.7", default-features = false } pin-project = {version = "1.0.7", default-features = false }
futures-util = { version = "0.3.16" } futures-util = { version = "0.3.16" }
hex = { version = "0.4.3", default-features = false, features = ["std"] } hex = { version = "0.4.3", default-features = false, features = ["std"] }
[dev-dependencies] [dev-dependencies]
ethers = { version = "0.4.0", path = "../ethers" } ethers = { version = "0.4.0", path = "../ethers" }
ethers-providers = { version = "0.4.0", path = "../ethers-providers", default-features = false, features = ["ws"] } ethers-providers = { version = "0.4.6", path = "../ethers-providers", default-features = false, features = ["ws"] }
ethers-signers = { version = "0.4.6", path = "../ethers-signers" }
ethers-middleware = { version = "0.4.8", path = "../ethers-middleware" }
tokio = { version = "1.5", default-features = false, features = ["macros"] } tokio = { version = "1.5", default-features = false, features = ["macros"] }
ethers-signers = { version = "0.4.0", path = "../ethers-signers" }
ethers-middleware = { version = "0.4.0", path = "../ethers-middleware" }
[features] [features]
abigen = ["ethers-contract-abigen", "ethers-contract-derive"] abigen = ["ethers-contract-abigen", "ethers-contract-derive"]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ethers-contract-abigen" name = "ethers-contract-abigen"
version = "0.4.0" version = "0.4.7"
authors = ["Nicholas Rodrigues Lordello <nlordell@gmail.com>", "Georgios Konstantopoulos <me@gakonst.com>"] authors = ["Nicholas Rodrigues Lordello <nlordell@gmail.com>", "Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@ -10,7 +10,7 @@ repository = "https://github.com/gakonst/ethers-rs"
keywords = ["ethereum", "web3", "celo", "ethers"] keywords = ["ethereum", "web3", "celo", "ethers"]
[dependencies] [dependencies]
ethers-core = { version = "0.4.0", path = "../../ethers-core" } ethers-core = { version = "0.4.6", path = "../../ethers-core" }
anyhow = "1.0.37" anyhow = "1.0.37"
Inflector = "0.11" Inflector = "0.11"

View File

@ -40,6 +40,7 @@ pub fn determine_ethers_crates() -> (&'static str, &'static str) {
"{}/Cargo.toml", "{}/Cargo.toml",
std::env::var("CARGO_MANIFEST_DIR").expect("No Manifest found") std::env::var("CARGO_MANIFEST_DIR").expect("No Manifest found")
)) ))
.no_deps()
.exec() .exec()
.ok() .ok()
.and_then(|metadata| { .and_then(|metadata| {

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ethers-contract-derive" name = "ethers-contract-derive"
version = "0.4.0" version = "0.4.7"
authors = ["Nicholas Rodrigues Lordello <nlordell@gmail.com>", "Georgios Konstantopoulos <me@gakonst.com>"] authors = ["Nicholas Rodrigues Lordello <nlordell@gmail.com>", "Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@ -13,8 +13,8 @@ keywords = ["ethereum", "web3", "celo", "ethers"]
proc-macro = true proc-macro = true
[dependencies] [dependencies]
ethers-core = { version = "0.4.0", path = "../../ethers-core" } ethers-core = { version = "0.4.6", path = "../../ethers-core" }
ethers-contract-abigen = { version = "0.4.0", path = "../ethers-contract-abigen" } ethers-contract-abigen = { version = "0.4.7", path = "../ethers-contract-abigen" }
serde_json = "1.0.53" serde_json = "1.0.53"
hex = { version = "0.4.3", default-features = false, features = ["std"] } hex = { version = "0.4.3", default-features = false, features = ["std"] }

View File

@ -1,7 +1,7 @@
[package] [package]
name = "ethers-core" name = "ethers-core"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "0.4.0" version = "0.4.6"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"] authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
description = "Core structures for the ethers-rs crate" description = "Core structures for the ethers-rs crate"

View File

@ -1,7 +1,7 @@
[package] [package]
name = "ethers-middleware" name = "ethers-middleware"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "0.4.0" version = "0.4.8"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"] authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
description = "Middleware implementations for the ethers-rs crate" description = "Middleware implementations for the ethers-rs crate"
@ -14,10 +14,10 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [dependencies]
ethers-contract = { version = "0.4.0", path = "../ethers-contract", default-features = false, features = ["abigen"] } ethers-contract = { version = "0.4.7", path = "../ethers-contract", default-features = false, features = ["abigen"] }
ethers-core = { version = "0.4.0", path = "../ethers-core", default-features = false } ethers-core = { version = "0.4.6", path = "../ethers-core", default-features = false }
ethers-providers = { version = "0.4.0", path = "../ethers-providers", default-features = false } ethers-providers = { version = "0.4.6", path = "../ethers-providers", default-features = false }
ethers-signers = { version = "0.4.0", path = "../ethers-signers", default-features = false } ethers-signers = { version = "0.4.6", path = "../ethers-signers", default-features = false }
async-trait = { version = "0.1.50", default-features = false } async-trait = { version = "0.1.50", default-features = false }
serde = { version = "1.0.124", default-features = false, features = ["derive"] } serde = { version = "1.0.124", default-features = false, features = ["derive"] }

View File

@ -1,7 +1,7 @@
[package] [package]
name = "ethers-providers" name = "ethers-providers"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "0.4.0" version = "0.4.6"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"] authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
description = "Provider implementations for the ethers-rs crate" description = "Provider implementations for the ethers-rs crate"
@ -14,7 +14,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [dependencies]
ethers-core = { version = "0.4.0", path = "../ethers-core", default-features = false } ethers-core = { version = "0.4.6", path = "../ethers-core", default-features = false }
async-trait = { version = "0.1.50", default-features = false } async-trait = { version = "0.1.50", default-features = false }
hex = { version = "0.4.3", default-features = false, features = ["std"] } hex = { version = "0.4.3", default-features = false, features = ["std"] }

View File

@ -1,7 +1,7 @@
[package] [package]
name = "ethers-signers" name = "ethers-signers"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "0.4.0" version = "0.4.6"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"] authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
description = "Signer implementations for the ethers-rs crate" description = "Signer implementations for the ethers-rs crate"

View File

@ -34,14 +34,14 @@ ws = ["ethers-providers/ws"]
abigen = ["ethers-contract/abigen"] abigen = ["ethers-contract/abigen"]
[dependencies] [dependencies]
ethers-contract = { version = "0.4.0", path = "../ethers-contract" } ethers-contract = { version = "0.4.7", path = "../ethers-contract" }
ethers-core = { version = "0.4.0", path = "../ethers-core", features = ["setup"] } ethers-core = { version = "0.4.6", path = "../ethers-core", features = ["setup"] }
ethers-providers = { version = "0.4.0", path = "../ethers-providers" } ethers-providers = { version = "0.4.6", path = "../ethers-providers" }
ethers-signers = { version = "0.4.0", path = "../ethers-signers" } ethers-signers = { version = "0.4.6", path = "../ethers-signers" }
ethers-middleware = { version = "0.4.0", path = "../ethers-middleware" } ethers-middleware = { version = "0.4.8", path = "../ethers-middleware" }
[dev-dependencies] [dev-dependencies]
ethers-contract = { version = "0.4.0", path = "../ethers-contract", features = ["abigen"] } ethers-contract = { version = "0.4.7", path = "../ethers-contract", features = ["abigen"] }
anyhow = "1.0.39" anyhow = "1.0.39"
rand = "0.8.4" rand = "0.8.4"