From cf94ffc6fd84b411043a70b47a4c4d7f131bcf59 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 90a32d98164..938d3fdd391 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -118,6 +118,7 @@ nix = { version = "0.23" } [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]