File: 2001_windows.patch

package info (click to toggle)
rust-async-process 2.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 248 kB
  • sloc: makefile: 2; sh: 1
file content (28 lines) | stat: -rw-r--r-- 686 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
Description: avoid windows-only crates
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-08-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,19 +30,8 @@
 async-channel = "2.0.0"
 async-task = "4.7.0"
 
-[target.'cfg(windows)'.dependencies]
-blocking = "1.0.0"
-
 [lints.rust]
 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(async_process_force_signal_backend)'] }
 
 [dev-dependencies]
 async-executor = "1.5.1"
-
-[target.'cfg(windows)'.dev-dependencies.windows-sys]
-version = "0.60"
-default-features = false
-features = [
-    "Win32_Foundation",
-    "Win32_System_Threading",
-]