Skip to content

Commit 80314af

Browse files
committed
Update dependencies
Drops the cfg-if dependency on Unix, no longer used. Updates winapi and reduces the required features. Removes the redox_syscall dependency on Redox as it's no longer used.
1 parent 843b8fe commit 80314af

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Cargo.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,11 @@ rustdoc-args = ["--cfg", "docsrs"]
2929
[package.metadata.playground]
3030
features = ["all"]
3131

32-
[target."cfg(windows)".dependencies.winapi]
33-
version = "0.3.3"
34-
features = ["handleapi", "ws2def", "ws2ipdef", "ws2tcpip", "minwindef"]
35-
3632
[target."cfg(unix)".dependencies]
37-
cfg-if = "1.0.0"
3833
libc = "0.2.81"
3934

40-
[target."cfg(target_os = \"redox\")".dependencies]
41-
redox_syscall = "0.1.38"
35+
[target."cfg(windows)".dependencies]
36+
winapi = { version = "0.3.9", features = ["handleapi", "ws2ipdef", "ws2tcpip"] }
4237

4338
[dev-dependencies]
4439
tempdir = "0.3"

0 commit comments

Comments
 (0)