From 1b28f736d9b2672d3cafaa2bd9c74c0a2b0241e4 Mon Sep 17 00:00:00 2001 From: Daniel Paoliello Date: Sat, 30 Dec 2023 10:35:34 -0800 Subject: [PATCH] windows_sys only on windows --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d559656..8d52e79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,8 @@ serde = "1.0" serde_json = "1.0" sys-info = "0.9" tokio = { version = "1.35", features = ["rt", "net", "time", "rt-multi-thread"] } + +[target.'cfg(target_os = "windows")'.dependencies] windows-sys = {version = "0.52", features = ["Win32_Foundation", "Win32_Networking_WinSock", "Win32_Security_Credentials"] } # Build openssl from source instead of linking it.