From af8b7769373e6fd2c1148c7e76e85d748e14fae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Thu, 11 Nov 2021 20:54:40 +0100 Subject: [PATCH] udp, ws: auto-enable cpu-pinning feature when running with glommio --- aquatic_udp/Cargo.toml | 2 +- aquatic_ws/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aquatic_udp/Cargo.toml b/aquatic_udp/Cargo.toml index 0ddf68b..7fc5164 100644 --- a/aquatic_udp/Cargo.toml +++ b/aquatic_udp/Cargo.toml @@ -17,7 +17,7 @@ name = "aquatic_udp" [features] default = ["with-mio"] cpu-pinning = ["aquatic_common/cpu-pinning"] -with-glommio = ["glommio", "futures-lite"] +with-glommio = ["cpu-pinning", "glommio", "futures-lite"] with-mio = ["crossbeam-channel", "histogram", "mio", "socket2"] [dependencies] diff --git a/aquatic_ws/Cargo.toml b/aquatic_ws/Cargo.toml index b12716a..2fc27cf 100644 --- a/aquatic_ws/Cargo.toml +++ b/aquatic_ws/Cargo.toml @@ -18,7 +18,7 @@ path = "src/bin/main.rs" [features] default = ["with-mio"] cpu-pinning = ["aquatic_common/cpu-pinning"] -with-glommio = ["async-tungstenite", "futures-lite", "futures", "futures-rustls", "glommio", "rustls-pemfile"] +with-glommio = ["cpu-pinning", "async-tungstenite", "futures-lite", "futures", "futures-rustls", "glommio", "rustls-pemfile"] with-mio = ["crossbeam-channel", "histogram", "mio", "native-tls", "parking_lot", "socket2"] [dependencies]