File: remove-windows-target-dependencies.patch

package info (click to toggle)
rust-cap-primitives 3.4.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 992 kB
  • sloc: makefile: 5
file content (24 lines) | stat: -rw-r--r-- 587 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: remove windows target only dependencies
Author: Ananthu C V <weepingclown@disroot.org>
Forwarded: not-needed
Last-Update: 2024-11-02

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -78,16 +78 @@
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52, <=0.59"
-features = [
-    "Win32_Foundation",
-    "Win32_Security",
-    "Win32_Storage_FileSystem",
-    "Win32_System_Kernel",
-    "Win32_System_WindowsProgramming",
-    "Win32_System_IO",
-    "Wdk_Storage_FileSystem",
-    "Wdk_Foundation",
-]
-
-[target."cfg(windows)".dependencies.winx]
-version = "0.36.0"