File: backends-hidraw-only.patch

package info (click to toggle)
rust-hidapi 2.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: makefile: 4
file content (34 lines) | stat: -rw-r--r-- 911 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
Description: Keep only the shared hidraw backend due to problems in others
Last-Update: 2025-08-08
Author: Blair Noctis <ncts@debian.org>
Forwarded: not-needed
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -90,7 +90 @@
-    "illumos-static-libusb",
-]
-illumos-shared-libusb = []
-illumos-static-libusb = []
-linux-native = [
-    "dep:udev",
-    "dep:nix",
+    #"illumos-static-libusb",
@@ -97,0 +92,6 @@
+#illumos-shared-libusb = []
+#illumos-static-libusb = []
+#linux-native = [
+#"dep:udev",
+#"dep:nix",
+#]
@@ -99 +99 @@
-linux-shared-libusb = []
+#linux-shared-libusb = []
@@ -102 +102 @@
-macos-shared-device = []
+#macos-shared-device = []
@@ -115 +115 @@
-[target.'cfg(target_os = "linux")'.dependencies.nix]
+[disabled.target.'cfg(target_os = "linux")'.dependencies.nix]
@@ -124 +124 @@
-[target.'cfg(target_os = "linux")'.dependencies.udev]
+[disabled.target.'cfg(target_os = "linux")'.dependencies.udev]