File: remove-windows-sys.patch

package info (click to toggle)
rust-remove-dir-all 0.8.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 208 kB
  • sloc: makefile: 7
file content (35 lines) | stat: -rw-r--r-- 923 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
25
26
27
28
29
30
31
32
33
34
35
Description: Remove Windows-specific crates
 Removed windows-sys and aligned
Author: Zixing Liu <zixing.liu@canonical.com>
Forwarded: not-needed
Last-Update: 2023-09-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- rust-remove-dir-all-0.8.2.orig/Cargo.toml
+++ rust-remove-dir-all-0.8.2/Cargo.toml
@@ -12,6 +12,7 @@
 [package]
 edition = "2018"
 name = "remove_dir_all"
+resolver = "2"
 version = "0.8.2"
 authors = [
     "Erin P. <xampprocky@gmail.com>",
@@ -100,17 +101,3 @@ version = "0.1.1"
 
 [target."cfg(not(windows))".dependencies.libc]
 version = "0.2"
-
-[target."cfg(windows)".dependencies.aligned]
-version = "0.4.1"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.45.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-    "Win32_System_IO",
-    "Win32_System_Ioctl",
-    "Win32_System_SystemServices",
-    "Win32_System_Threading",
-]