From e75041d53f2039ba38a7458bd5a1ed8fa8fc7778 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Thu, 9 Jan 2025 05:37:08 -0800 Subject: [PATCH] Add http2 feature for hyper-util (#34920) This fixes an error when running `./mach clippy -r -p layout_2020`. Signed-off-by: Oriol Brufau --- Cargo.toml | 2 +- components/net/Cargo.toml | 2 +- components/shared/net/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 04effd2a89f..eb7ffd35932 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,7 @@ http-body-util = "0.1" hyper = "1.0" hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "logging", "tls12", "webpki-tokio"] } hyper_serde = { path = "components/hyper_serde" } -hyper-util = "0.1" +hyper-util = { version = "0.1", features = ["client", "client-legacy", "http2", "tokio"] } icu_segmenter = "1.5.0" image = "0.24" imsz = "0.2" diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml index c523e267e8f..9c38a462917 100644 --- a/components/net/Cargo.toml +++ b/components/net/Cargo.toml @@ -37,7 +37,7 @@ http-body-util = { workspace = true } hyper = { workspace = true, features = ["client", "http1", "http2"] } hyper-rustls = { workspace = true } hyper_serde = { workspace = true } -hyper-util = { workspace = true, features = ["client", "client-legacy", "tokio"] } +hyper-util = { workspace = true } imsz = { workspace = true } ipc-channel = { workspace = true } log = { workspace = true } diff --git a/components/shared/net/Cargo.toml b/components/shared/net/Cargo.toml index 18b29376014..579b1123e5f 100644 --- a/components/shared/net/Cargo.toml +++ b/components/shared/net/Cargo.toml @@ -23,7 +23,7 @@ headers = { workspace = true } http = { workspace = true } hyper = { workspace = true } hyper_serde = { workspace = true } -hyper-util = { workspace = true, features = ["client-legacy"] } +hyper-util = { workspace = true } ipc-channel = { workspace = true } log = { workspace = true } malloc_size_of = { workspace = true }