File: disable-deps.patch

package info (click to toggle)
trippy 0.13.0%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,884 kB
  • sloc: sh: 41; makefile: 28
file content (33 lines) | stat: -rw-r--r-- 1,161 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
Description: Disable unavailable and useless deps
 * unavailable: tun2, for trippy-core+sim-tests simulation integration tests
 * useless: cfg(windows), crossterm+windows
Forwarded: not-needed
Last-Update: 2025-01-03
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -78 +78 @@
-tun2 = "4.0.0"
+#tun2 = "4.0.0"
@@ -81 +81 @@
-windows-sys = "0.52.0"
+#windows-sys = "0.52.0"
--- a/crates/trippy-core/Cargo.toml
+++ b/crates/trippy-core/Cargo.toml
@@ -31 +31 @@
-[target.'cfg(windows)'.dependencies]
+[disabled.target.'cfg(windows)'.dependencies]
@@ -51 +51 @@
-tun2 = { workspace = true, features = ["async"] }
+#tun2 = { workspace = true, features = ["async"] }
--- a/crates/trippy-privilege/Cargo.toml
+++ b/crates/trippy-privilege/Cargo.toml
@@ -24 +24 @@
-[target.'cfg(windows)'.dependencies]
+[disabled.target.'cfg(windows)'.dependencies]
--- a/crates/trippy-tui/Cargo.toml
+++ b/crates/trippy-tui/Cargo.toml
@@ -26 +26 @@
-crossterm = { workspace = true, default-features = false, features = ["events", "windows"] }
+crossterm = { workspace = true, default-features = false, features = ["events"] }