Debian Codegraph @

debian/patches/remove-windows.patch

raw symbols SCIP
1 Description: Remove windows-sys
2 We don't need to support windows, so remove
3 windows-sys and anything related.
4 Author: Muntasir Mahmud <[email protected]>
5 Last-Update: 2025-11-15
6 ---
7 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
8 Index: process-alive/Cargo.lock
9 ===================================================================
10 --- process-alive.orig/Cargo.lock
11 +++ process-alive/Cargo.lock
12 @@ -13,20 +13,4 @@ name = "process_alive"
13 version = "0.2.0"
14 dependencies = [
15 "libc",
16 - "windows-sys",
17 -]
18 -
19 -[[package]]
20 -name = "windows-link"
21 -version = "0.2.1"
22 -source = "registry+https://github.com/rust-lang/crates.io-index"
23 -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
24 -
25 -[[package]]
26 -name = "windows-sys"
27 -version = "0.61.2"
28 -source = "registry+https://github.com/rust-lang/crates.io-index"
29 -checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
30 -dependencies = [
31 - "windows-link",
32 ]
33 Index: process-alive/Cargo.toml
34 ===================================================================
35 --- process-alive.orig/Cargo.toml
36 +++ process-alive/Cargo.toml
37 @@ -33,10 +33,3 @@ path = "src/lib.rs"
38
39 [target.'cfg(target_family = "unix")'.dependencies.libc]
40 version = "0.2"
41 -
42 -[target."cfg(windows)".dependencies.windows-sys]
43 -version = "0.61"
44 -features = [
45 - "Win32_Foundation",
46 - "Win32_System_Threading",
47 -]
48 Index: process-alive/Cargo.toml.orig
49 ===================================================================
50 --- process-alive.orig/Cargo.toml.orig
51 +++ process-alive/Cargo.toml.orig
52 @@ -9,11 +9,5 @@ edition = "2021"
53
54 [dependencies]
55
56 -[target.'cfg(windows)'.dependencies]
57 -windows-sys = { version = "0.61", features = [
58 - "Win32_Foundation",
59 - "Win32_System_Threading",
60 -] }
61 -
62 [target.'cfg(target_family = "unix")'.dependencies]
63 libc = "0.2"