From 453504cb789d9b9947accc2f8ec56324e0c6326d Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Sun, 15 Aug 2021 20:24:52 +0300 Subject: [PATCH] chore: remove default feature on futures-util from all crates --- ethers-contract/Cargo.toml | 2 +- ethers-core/Cargo.toml | 4 ++-- ethers-middleware/Cargo.toml | 2 +- ethers-providers/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ethers-contract/Cargo.toml b/ethers-contract/Cargo.toml index e72a81ad..254f71c2 100644 --- a/ethers-contract/Cargo.toml +++ b/ethers-contract/Cargo.toml @@ -21,7 +21,7 @@ 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 } pin-project = {version = "1.0.7", default-features = false } -futures-util = { version = "0.3.16", default-features = false } +futures-util = { version = "0.3.16" } hex = { version = "0.4.3", default-features = false, features = ["std"] } [dev-dependencies] diff --git a/ethers-core/Cargo.toml b/ethers-core/Cargo.toml index 10e2f09a..c3e03f56 100644 --- a/ethers-core/Cargo.toml +++ b/ethers-core/Cargo.toml @@ -33,7 +33,7 @@ hex = { version = "0.4.3", default-features = false, features = ["std"] } # async tokio = { version = "1.5", default-features = false, optional = true} -futures-util = { version = "0.3.16", default-features = false, optional = true, features = ["async-await-macro"]} +futures-util = { version = "0.3.16", optional = true } [dev-dependencies] ethers = { version = "0.4.0", path = "../ethers" } @@ -42,7 +42,7 @@ serde_json = { version = "1.0.64", default-features = false } bincode = { version = "1.3.3", default-features = false } once_cell = { version = "1.8.0" } hex-literal = "0.3.3" -futures-util = { version = "0.3.16", default-features = false } +futures-util = { version = "0.3.16" } [features] celo = [] # celo support extends the transaction format with extra fields diff --git a/ethers-middleware/Cargo.toml b/ethers-middleware/Cargo.toml index 35e1d755..1104ba68 100644 --- a/ethers-middleware/Cargo.toml +++ b/ethers-middleware/Cargo.toml @@ -22,7 +22,7 @@ ethers-signers = { version = "0.4.0", path = "../ethers-signers", default-featur async-trait = { version = "0.1.50", default-features = false } serde = { version = "1.0.124", default-features = false, features = ["derive"] } thiserror = { version = "1.0.26", default-features = false } -futures-util = { version = "0.3.16", default-features = false } +futures-util = { version = "0.3.16" } tracing = { version = "0.1.26", default-features = false } tracing-futures = { version = "0.2.5", default-features = false } diff --git a/ethers-providers/Cargo.toml b/ethers-providers/Cargo.toml index 518223a1..50792f99 100644 --- a/ethers-providers/Cargo.toml +++ b/ethers-providers/Cargo.toml @@ -27,7 +27,7 @@ auto_impl = { version = "0.4.1", default-features = false } # required for implementing stream on the filters futures-core = { version = "0.3.12", default-features = false } -futures-util = { version = "0.3.16", default-features = false } +futures-util = { version = "0.3.16" } futures-timer = { version = "3.0.2", default-features = false } futures-channel = { version = "0.3.13", default-features = false } pin-project = { version = "1.0.7", default-features = false }