From 6cb7cac675dd3e5de6c152071f938827b1e01dd9 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Mon, 16 Aug 2021 11:54:12 +0300 Subject: [PATCH] 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 --- Cargo.lock | 14 +++++++------- ethers-contract/Cargo.toml | 19 +++++++++---------- .../ethers-contract-abigen/Cargo.toml | 4 ++-- .../ethers-contract-abigen/src/util.rs | 1 + .../ethers-contract-derive/Cargo.toml | 6 +++--- ethers-core/Cargo.toml | 2 +- ethers-middleware/Cargo.toml | 10 +++++----- ethers-providers/Cargo.toml | 4 ++-- ethers-signers/Cargo.toml | 2 +- ethers/Cargo.toml | 12 ++++++------ 10 files changed, 37 insertions(+), 37 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f45666bb..d154de4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -814,7 +814,7 @@ dependencies = [ [[package]] name = "ethers-contract" -version = "0.4.0" +version = "0.4.7" dependencies = [ "ethers", "ethers-contract-abigen", @@ -835,7 +835,7 @@ dependencies = [ [[package]] name = "ethers-contract-abigen" -version = "0.4.0" +version = "0.4.7" dependencies = [ "Inflector", "anyhow", @@ -854,7 +854,7 @@ dependencies = [ [[package]] name = "ethers-contract-derive" -version = "0.4.0" +version = "0.4.7" dependencies = [ "ethers-contract-abigen", "ethers-core", @@ -867,7 +867,7 @@ dependencies = [ [[package]] name = "ethers-core" -version = "0.4.0" +version = "0.4.6" dependencies = [ "arrayvec 0.7.1", "bincode", @@ -895,7 +895,7 @@ dependencies = [ [[package]] name = "ethers-middleware" -version = "0.4.0" +version = "0.4.8" dependencies = [ "async-trait", "ethers", @@ -919,7 +919,7 @@ dependencies = [ [[package]] name = "ethers-providers" -version = "0.4.0" +version = "0.4.6" dependencies = [ "async-trait", "auto_impl", @@ -947,7 +947,7 @@ dependencies = [ [[package]] name = "ethers-signers" -version = "0.4.0" +version = "0.4.6" dependencies = [ "async-trait", "coins-bip32", diff --git a/ethers-contract/Cargo.toml b/ethers-contract/Cargo.toml index 254f71c2..74139ad6 100644 --- a/ethers-contract/Cargo.toml +++ b/ethers-contract/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ethers-contract" license = "MIT OR Apache-2.0" -version = "0.4.0" +version = "0.4.7" authors = ["Georgios Konstantopoulos "] edition = "2018" 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"] [dependencies] -ethers-providers = { version = "0.4.0", path = "../ethers-providers", default-features = false } -ethers-core = { version = "0.4.0", path = "../ethers-core", default-features = false } - -ethers-contract-abigen = { version = "0.4.0", path = "ethers-contract-abigen", optional = true } -ethers-contract-derive = { version = "0.4.0", path = "ethers-contract-derive", optional = true } +ethers-providers = { version = "0.4.6", path = "../ethers-providers", 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-derive = { version = "0.4.7", path = "ethers-contract-derive", optional = true } serde = { version = "1.0.124", default-features = false } serde_json = { version = "1.0.64", 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 } futures-util = { version = "0.3.16" } hex = { version = "0.4.3", default-features = false, features = ["std"] } [dev-dependencies] 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"] } -ethers-signers = { version = "0.4.0", path = "../ethers-signers" } -ethers-middleware = { version = "0.4.0", path = "../ethers-middleware" } [features] abigen = ["ethers-contract-abigen", "ethers-contract-derive"] diff --git a/ethers-contract/ethers-contract-abigen/Cargo.toml b/ethers-contract/ethers-contract-abigen/Cargo.toml index 27e2b86b..991f3483 100644 --- a/ethers-contract/ethers-contract-abigen/Cargo.toml +++ b/ethers-contract/ethers-contract-abigen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethers-contract-abigen" -version = "0.4.0" +version = "0.4.7" authors = ["Nicholas Rodrigues Lordello ", "Georgios Konstantopoulos "] edition = "2018" license = "MIT OR Apache-2.0" @@ -10,7 +10,7 @@ repository = "https://github.com/gakonst/ethers-rs" keywords = ["ethereum", "web3", "celo", "ethers"] [dependencies] -ethers-core = { version = "0.4.0", path = "../../ethers-core" } +ethers-core = { version = "0.4.6", path = "../../ethers-core" } anyhow = "1.0.37" Inflector = "0.11" diff --git a/ethers-contract/ethers-contract-abigen/src/util.rs b/ethers-contract/ethers-contract-abigen/src/util.rs index 4952f7cd..ee2d59e4 100644 --- a/ethers-contract/ethers-contract-abigen/src/util.rs +++ b/ethers-contract/ethers-contract-abigen/src/util.rs @@ -40,6 +40,7 @@ pub fn determine_ethers_crates() -> (&'static str, &'static str) { "{}/Cargo.toml", std::env::var("CARGO_MANIFEST_DIR").expect("No Manifest found") )) + .no_deps() .exec() .ok() .and_then(|metadata| { diff --git a/ethers-contract/ethers-contract-derive/Cargo.toml b/ethers-contract/ethers-contract-derive/Cargo.toml index 60e96539..ef5162a4 100644 --- a/ethers-contract/ethers-contract-derive/Cargo.toml +++ b/ethers-contract/ethers-contract-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethers-contract-derive" -version = "0.4.0" +version = "0.4.7" authors = ["Nicholas Rodrigues Lordello ", "Georgios Konstantopoulos "] edition = "2018" license = "MIT OR Apache-2.0" @@ -13,8 +13,8 @@ keywords = ["ethereum", "web3", "celo", "ethers"] proc-macro = true [dependencies] -ethers-core = { version = "0.4.0", path = "../../ethers-core" } -ethers-contract-abigen = { version = "0.4.0", path = "../ethers-contract-abigen" } +ethers-core = { version = "0.4.6", path = "../../ethers-core" } +ethers-contract-abigen = { version = "0.4.7", path = "../ethers-contract-abigen" } serde_json = "1.0.53" hex = { version = "0.4.3", default-features = false, features = ["std"] } diff --git a/ethers-core/Cargo.toml b/ethers-core/Cargo.toml index c3e03f56..0a844a8a 100644 --- a/ethers-core/Cargo.toml +++ b/ethers-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ethers-core" license = "MIT OR Apache-2.0" -version = "0.4.0" +version = "0.4.6" authors = ["Georgios Konstantopoulos "] edition = "2018" description = "Core structures for the ethers-rs crate" diff --git a/ethers-middleware/Cargo.toml b/ethers-middleware/Cargo.toml index 1104ba68..bb87f608 100644 --- a/ethers-middleware/Cargo.toml +++ b/ethers-middleware/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ethers-middleware" license = "MIT OR Apache-2.0" -version = "0.4.0" +version = "0.4.8" authors = ["Georgios Konstantopoulos "] edition = "2018" description = "Middleware implementations for the ethers-rs crate" @@ -14,10 +14,10 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -ethers-contract = { version = "0.4.0", path = "../ethers-contract", default-features = false, features = ["abigen"] } -ethers-core = { version = "0.4.0", path = "../ethers-core", default-features = false } -ethers-providers = { version = "0.4.0", path = "../ethers-providers", default-features = false } -ethers-signers = { version = "0.4.0", path = "../ethers-signers", default-features = false } +ethers-contract = { version = "0.4.7", path = "../ethers-contract", default-features = false, features = ["abigen"] } +ethers-core = { version = "0.4.6", path = "../ethers-core", default-features = false } +ethers-providers = { version = "0.4.6", path = "../ethers-providers", default-features = false } +ethers-signers = { version = "0.4.6", path = "../ethers-signers", default-features = false } async-trait = { version = "0.1.50", default-features = false } serde = { version = "1.0.124", default-features = false, features = ["derive"] } diff --git a/ethers-providers/Cargo.toml b/ethers-providers/Cargo.toml index 50792f99..6403297e 100644 --- a/ethers-providers/Cargo.toml +++ b/ethers-providers/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ethers-providers" license = "MIT OR Apache-2.0" -version = "0.4.0" +version = "0.4.6" authors = ["Georgios Konstantopoulos "] edition = "2018" description = "Provider implementations for the ethers-rs crate" @@ -14,7 +14,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [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 } hex = { version = "0.4.3", default-features = false, features = ["std"] } diff --git a/ethers-signers/Cargo.toml b/ethers-signers/Cargo.toml index 420155ea..17627b69 100644 --- a/ethers-signers/Cargo.toml +++ b/ethers-signers/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ethers-signers" license = "MIT OR Apache-2.0" -version = "0.4.0" +version = "0.4.6" authors = ["Georgios Konstantopoulos "] edition = "2018" description = "Signer implementations for the ethers-rs crate" diff --git a/ethers/Cargo.toml b/ethers/Cargo.toml index 9b498db5..b88d6c9f 100644 --- a/ethers/Cargo.toml +++ b/ethers/Cargo.toml @@ -34,14 +34,14 @@ ws = ["ethers-providers/ws"] abigen = ["ethers-contract/abigen"] [dependencies] -ethers-contract = { version = "0.4.0", path = "../ethers-contract" } -ethers-core = { version = "0.4.0", path = "../ethers-core", features = ["setup"] } -ethers-providers = { version = "0.4.0", path = "../ethers-providers" } -ethers-signers = { version = "0.4.0", path = "../ethers-signers" } -ethers-middleware = { version = "0.4.0", path = "../ethers-middleware" } +ethers-contract = { version = "0.4.7", path = "../ethers-contract" } +ethers-core = { version = "0.4.6", path = "../ethers-core", features = ["setup"] } +ethers-providers = { version = "0.4.6", path = "../ethers-providers" } +ethers-signers = { version = "0.4.6", path = "../ethers-signers" } +ethers-middleware = { version = "0.4.8", path = "../ethers-middleware" } [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" rand = "0.8.4"