File: remove-windows.patch

package info (click to toggle)
rust-process-alive 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 152 kB
  • sloc: makefile: 4
file content (63 lines) | stat: -rw-r--r-- 1,842 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
Description: Remove windows-sys
 We don't need to support windows, so remove
 windows-sys and anything related.
Author: Muntasir Mahmud <muntasir.joypurhat@gmail.com>
Last-Update: 2025-11-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: process-alive/Cargo.lock
===================================================================
--- process-alive.orig/Cargo.lock
+++ process-alive/Cargo.lock
@@ -13,20 +13,4 @@ name = "process_alive"
 version = "0.2.0"
 dependencies = [
  "libc",
- "windows-sys",
-]
-
-[[package]]
-name = "windows-link"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
-
-[[package]]
-name = "windows-sys"
-version = "0.61.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
-dependencies = [
- "windows-link",
 ]
Index: process-alive/Cargo.toml
===================================================================
--- process-alive.orig/Cargo.toml
+++ process-alive/Cargo.toml
@@ -33,10 +33,3 @@ path = "src/lib.rs"
 
 [target.'cfg(target_family = "unix")'.dependencies.libc]
 version = "0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Threading",
-]
Index: process-alive/Cargo.toml.orig
===================================================================
--- process-alive.orig/Cargo.toml.orig
+++ process-alive/Cargo.toml.orig
@@ -9,11 +9,5 @@ edition = "2021"
 
 [dependencies]
 
-[target.'cfg(windows)'.dependencies]
-windows-sys = { version = "0.61", features = [
-  "Win32_Foundation",
-  "Win32_System_Threading",
-] }
-
 [target.'cfg(target_family = "unix")'.dependencies]
 libc = "0.2"