From 672992c67709af6818d6beb8abfb29b43d8b7c92 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sun, 8 May 2022 20:14:28 +0200 Subject: [PATCH] windows: add features for winapi (#4663) --- tokio/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 7799f168922..66c3387757f 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -115,6 +115,7 @@ nix = { version = "0.22.0" } [target.'cfg(windows)'.dependencies.winapi] version = "0.3.8" default-features = false +features = ["std", "winsock2", "mswsock", "handleapi", "ws2ipdef", "ws2tcpip"] optional = true [target.'cfg(windows)'.dev-dependencies.ntapi]