From 472be8835f3fe4ce8608d8e7defcb6b7b7297c34 Mon Sep 17 00:00:00 2001 From: shellrow <81893184+shellrow@users.noreply.github.com> Date: Sun, 5 Sep 2021 00:12:30 +0900 Subject: [PATCH] Enabling the std feature of the winapi dependency --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index dd1cf6a..4012810 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,4 +11,7 @@ categories = ["network-programming"] license = "MIT" [dependencies] -pnet = "0.26" +pnet = "0.28" + +[target.'cfg(windows)'.dependencies] +winapi = { version = "0.3.8", features = [ "std" ] }