File: remove-non-linux-deps.diff

package info (click to toggle)
rust-mio 0.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 656 kB
  • sloc: makefile: 2
file content (29 lines) | stat: -rw-r--r-- 659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -100,26 +100,8 @@ default = []
 net = []
 os-ext = [
     "os-poll",
-    "windows-sys/Win32_System_Pipes",
-    "windows-sys/Win32_Security",
 ]
 os-poll = []
 
-[target."cfg(target_os = \"wasi\")".dependencies.libc]
-version = "0.2.121"
-
-[target."cfg(target_os = \"wasi\")".dependencies.wasi]
-version = "0.11.0"
-
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.121"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.36"
-features = [
-    "Win32_Storage_FileSystem",
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-    "Win32_System_IO",
-    "Win32_System_WindowsProgramming",
-]