From 9e6ed0522a35673cc0a4bd9c996766440443b9a4 Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Thu, 27 Jan 2022 22:51:13 -0800 Subject: [PATCH] fix(ethers-providers): make http crate required (#836) --- ethers-providers/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-providers/Cargo.toml b/ethers-providers/Cargo.toml index ca494cb2..1da8e8fa 100644 --- a/ethers-providers/Cargo.toml +++ b/ethers-providers/Cargo.toml @@ -24,7 +24,7 @@ serde_json = { version = "1.0.64", default-features = false } thiserror = { version = "1.0.30", default-features = false } url = { version = "2.2.2", default-features = false } auto_impl = { version = "0.5.0", default-features = false } -http = { version = "0.2", optional = true } +http = { version = "0.2" } base64 = "0.13" # required for implementing stream on the filters @@ -62,7 +62,7 @@ tempfile = "3.3.0" [features] default = ["ws", "rustls"] celo = ["ethers-core/celo"] -ws = ["tokio", "tokio-tungstenite", "http"] +ws = ["tokio", "tokio-tungstenite"] ipc = ["tokio", "tokio/io-util", "tokio-util", "bytes"] openssl = ["tokio-tungstenite/native-tls", "reqwest/native-tls"]