Skip to content

Commit 8ac08c5

Browse files
committed
Windows API switched to windows-sys
1 parent 2a5f40b commit 8ac08c5

File tree

5 files changed

+134
-142
lines changed

5 files changed

+134
-142
lines changed

Cargo.lock

Lines changed: 74 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/shadowsocks-service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ shadowsocks = { version = "1.15.0", path = "../shadowsocks", default-features =
135135
nix = "0.24"
136136

137137
[target.'cfg(windows)'.dependencies]
138-
winapi = { version = "0.3", features = ["mswsock", "winsock2"] }
138+
windows-sys = { version = "0.36", features = ["Win32_Networking_WinSock"] }
139139

140140
[dev-dependencies]
141141
byteorder = "1.3"

0 commit comments

Comments
 (0)