File: 2002_no_windows.patch

package info (click to toggle)
btm 0.10.2%2B20250107-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,884 kB
  • sloc: python: 418; makefile: 23; sh: 22
file content (26 lines) | stat: -rw-r--r-- 731 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
Description: avoid windows-only crates
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-07-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -112,17 +112,6 @@
 [target.'cfg(target_os = "linux")'.dependencies]
 rustix = { version = "0.38.37", features = ["fs", "param"] }
 
-[target.'cfg(target_os = "windows")'.dependencies]
-windows = { version = "0.58.0", features = [
-    "Win32_Foundation",
-    "Win32_Security",
-    "Win32_Storage_FileSystem",
-    "Win32_System_IO",
-    "Win32_System_Ioctl",
-    "Win32_System_ProcessStatus",
-    "Win32_System_Threading",
-] }
-
 [dev-dependencies]
 assert_cmd = "2.0.12"
 predicates = "3.1.0"