From 370e798e4664313776810bdbb891390aeb204d5a Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Fri, 1 Mar 2024 09:18:51 +0200 Subject: [PATCH] fix: enable socket2 only for client-legacy Signed-off-by: Lachezar Lechev --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a657420..24c6583 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ full = [ ] client = ["hyper/client", "dep:tracing", "dep:futures-channel", "dep:tower", "dep:tower-service"] -client-legacy = ["client"] +client-legacy = ["client", "dep:socket2"] server = ["hyper/server"] server-auto = ["server", "http1", "http2"] @@ -67,7 +67,7 @@ service = ["dep:tower", "dep:tower-service"] http1 = ["hyper/http1"] http2 = ["hyper/http2"] -tokio = ["dep:tokio", "dep:socket2"] +tokio = ["dep:tokio"] # internal features used in CI __internal_happy_eyeballs_tests = []