Skip to content

Commit

Permalink
windows_sys only on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaoliello committed Dec 30, 2023
1 parent f1bab17 commit 1b28f73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1b28f73

Please sign in to comment.