Skip to content

Commit 900cc84

Browse files
authored
Dependency updates (#1293)
Allow windows-sys 0.59.x, and trim unused features. Also update to libc 0.2.168 for `MAP_DROPPABLE`.
1 parent fe2a0f0 commit 900cc84

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ compiler_builtins = { version = '0.1.49', optional = true }
3232
[target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", target_arch = "s390x"), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))'.dependencies]
3333
linux-raw-sys = { version = "0.7.0", default-features = false, features = ["general", "errno", "ioctl", "no_std", "elf"] }
3434
libc_errno = { package = "errno", version = "0.3.10", default-features = false, optional = true }
35-
libc = { version = "0.2.161", default-features = false, optional = true }
35+
libc = { version = "0.2.168", default-features = false, optional = true }
3636

3737
# Dependencies for platforms where only libc is supported:
3838
#
3939
# On all other Unix-family platforms, and under Miri, we always use the libc
4040
# backend, so enable its dependencies unconditionally.
4141
[target.'cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", target_arch = "s390x"), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))'.dependencies]
4242
libc_errno = { package = "errno", version = "0.3.10", default-features = false }
43-
libc = { version = "0.2.161", default-features = false }
43+
libc = { version = "0.2.168", default-features = false }
4444

4545
# Additional dependencies for Linux with the libc backend:
4646
#
@@ -51,12 +51,10 @@ linux-raw-sys = { version = "0.7", default-features = false, features = ["genera
5151

5252
# For the libc backend on Windows, use the Winsock API in windows-sys.
5353
[target.'cfg(windows)'.dependencies.windows-sys]
54-
version = ">=0.52, <=0.59"
54+
version = ">=0.52, <0.60"
5555
features = [
5656
"Win32_Foundation",
5757
"Win32_Networking_WinSock",
58-
"Win32_NetworkManagement_IpHelper",
59-
"Win32_System_Threading"
6058
]
6159

6260
# For the libc backend on Windows, also use the errno crate, which has Windows
@@ -68,7 +66,7 @@ default-features = false
6866

6967
[dev-dependencies]
7068
tempfile = "3.5.0"
71-
libc = "0.2.161"
69+
libc = "0.2.168"
7270
libc_errno = { package = "errno", version = "0.3.10", default-features = false }
7371
serial_test = "2.0.0"
7472
memoffset = "0.9.0"

0 commit comments

Comments
 (0)