File: remove-windows-deps.patch

package info (click to toggle)
rust-expectrl 0.7.1-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 768 kB
  • sloc: python: 55; makefile: 4
file content (33 lines) | stat: -rw-r--r-- 725 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
There is no need to package windows only dependencies.

diff --git a/Cargo.toml b/Cargo.toml
index 22837c6..7629aa3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -53,11 +53,9 @@ async = [
     "futures-lite",
     "futures-timer",
     "async-io",
-    "blocking",
 ]
 polling = [
     "dep:polling",
-    "dep:crossbeam-channel",
 ]
 
 [target."cfg(unix)".dependencies.async-io]
@@ -73,14 +71,3 @@ optional = true
 
 [target."cfg(unix)".dependencies.ptyprocess]
 version = "0.4.1"
-
-[target."cfg(windows)".dependencies.blocking]
-version = "1.2.0"
-optional = true
-
-[target."cfg(windows)".dependencies.conpty]
-version = "0.5.0"
-
-[target."cfg(windows)".dependencies.crossbeam-channel]
-version = "0.5.6"
-optional = true