From f8ae7dae9d7d4a9a25f00f0c9ae9b97239503dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 4 Mar 2026 11:25:49 +0100 Subject: [PATCH] deps: comment on why socket2 dependency is required --- apollo-router/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apollo-router/Cargo.toml b/apollo-router/Cargo.toml index a2476fd15f..40247b667e 100644 --- a/apollo-router/Cargo.toml +++ b/apollo-router/Cargo.toml @@ -101,6 +101,9 @@ fred = { version = "10.1.0", features = [ "serde-json", "replicas" ] } +# We don't use this dependency, but the "all" feature is required for fred's +# "tcp-user-timeouts" feature to work: https://github.com/aembke/fred.rs/pull/369 +socket2 = { version = "0.5", features = ["all"] } futures = { version = "0.3.30", features = ["thread-pool"] } graphql_client = "0.14.0" hex.workspace = true @@ -222,7 +225,6 @@ serde_json.workspace = true serde_regex = { version = "1.1.0" } serde_urlencoded = "0.7.1" serde_yaml = "0.8.26" -socket2 = { version = "0.5", features = ["all"] } static_assertions = "1.1.0" strum = { version = "0.27.0", features = ["derive"] } sys-info = "0.9.1"