From 698b534ee76eda5391c8b4404c42deabaa3da10f Mon Sep 17 00:00:00 2001 From: threema-donat <129288638+threema-donat@users.noreply.github.com> Date: Wed, 10 Apr 2024 10:54:40 +0200 Subject: [PATCH] fix: Add tcp feature to hyper Prevents `executor must be set` panic when hyper with tcp enabled is not already in the dependencies of the project --- Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cda8ef7..e9fcdc8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ erased-serde = "0.3" serde_json = "1" thiserror = "1" openssl = { version = "0.10", optional = true } -hyper = { version = "0.14", default-features = false, features = ["client", "http2"] } +hyper = { version = "0.14", default-features = false, features = ["client", "http2", "tcp"] } hyper-alpn = "0.4" http = "0.2" base64 = "0.20" @@ -39,4 +39,3 @@ ring = { version = "0.16", features = ["std"], optional = true } argparse = "0.2" tracing-subscriber = "0.3" tokio = { version = "1", features = ["rt-multi-thread", "macros"] } -hyper = { version = "0.14", features = ["client", "http2", "tcp"] }