File: drop-windows.patch

package info (click to toggle)
rust-framework-lib 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,272 kB
  • sloc: makefile: 4
file content (119 lines) | stat: -rw-r--r-- 2,952 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
Description: Drop Windows-specific dependencies
Author: Nadzeya Hutsko <nadzya.info@gmail.com>
Forwarded: not-needed
Last-Update: 2026-03-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,7 +51,7 @@
 
 [dependencies.hidapi]
 version = "2.6.3"
-features = ["windows-native"]
+# features = ["windows-native"]
 optional = true
 
 [dependencies.lazy_static]
@@ -148,52 +148,52 @@
 version = "0.11.0"
 optional = true
 
-[target."cfg(windows)".dependencies.clap]
-version = "4.5"
-features = [
-    "derive",
-    "cargo",
-]
-
-[target."cfg(windows)".dependencies.clap-num]
-version = "1.2.0"
-
-[target."cfg(windows)".dependencies.clap-verbosity-flag]
-version = "3.0"
-
-[target."cfg(windows)".dependencies.clap_complete]
-version = "4.5"
-
-[target."cfg(windows)".dependencies.env_logger]
-version = "0.11"
-
-[target."cfg(windows)".dependencies.nvml-wrapper]
-version = "0.11.0"
-optional = true
-
-[target."cfg(windows)".dependencies.windows]
-version = "0.62.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-    "Win32_Security",
-    "Win32_System_IO",
-    "Win32_System_Ioctl",
-    "Win32_System_SystemInformation",
-    "Win32_System_SystemServices",
-    "Win32_Devices_DeviceAndDriverInstallation",
-    "Win32_Devices_HumanInterfaceDevice",
-    "Win32_Devices_Properties",
-    "Win32_Storage_EnhancedStorage",
-    "Win32_System_Threading",
-    "Win32_UI_Shell_PropertiesSystem",
-]
-
-[target."cfg(windows)".dependencies.windows-version]
-version = "0.1.4"
-
-[target."cfg(windows)".dependencies.winreg]
-version = "0.55.0"
-
-[target."cfg(windows)".dependencies.wmi]
-version = "0.18"
+#[target."cfg(windows)".dependencies.clap]
+#version = "4.5"
+#features = [
+#    "derive",
+#    "cargo",
+#]
+#
+#[target."cfg(windows)".dependencies.clap-num]
+#version = "1.2.0"
+#
+#[target."cfg(windows)".dependencies.clap-verbosity-flag]
+#version = "3.0"
+#
+#[target."cfg(windows)".dependencies.clap_complete]
+#version = "4.5"
+#
+#[target."cfg(windows)".dependencies.env_logger]
+#version = "0.11"
+#
+#[target."cfg(windows)".dependencies.nvml-wrapper]
+#version = "0.11.0"
+#optional = true
+#
+#[target."cfg(windows)".dependencies.windows]
+#version = "0.62.0"
+#features = [
+#    "Win32_Foundation",
+#    "Win32_Storage_FileSystem",
+#    "Win32_Security",
+#    "Win32_System_IO",
+#    "Win32_System_Ioctl",
+#    "Win32_System_SystemInformation",
+#    "Win32_System_SystemServices",
+#    "Win32_Devices_DeviceAndDriverInstallation",
+#    "Win32_Devices_HumanInterfaceDevice",
+#    "Win32_Devices_Properties",
+#    "Win32_Storage_EnhancedStorage",
+#    "Win32_System_Threading",
+#    "Win32_UI_Shell_PropertiesSystem",
+#]
+#
+#[target."cfg(windows)".dependencies.windows-version]
+#version = "0.1.4"
+#
+#[target."cfg(windows)".dependencies.winreg]
+#version = "0.55.0"
+#
+#[target."cfg(windows)".dependencies.wmi]
+#version = "0.18"