File: 2002_nusb.patch

package info (click to toggle)
cyme 2.2.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,416 kB
  • sloc: makefile: 147; sh: 70
file content (29 lines) | stat: -rw-r--r-- 1,274 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
Description: avoid outdated-in-Debian crate nusb
Author: Jonas Smedegaard <dr@jones.dk>
Bug-Debian: https://bugs.debian.org/1120373
Forwarded: not-needed
Last-Update: 2025-11-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,7 +19,6 @@
 colored = "3.0.0" # terminal colouring helper
 itertools = ">= 0.10.5, <= 0.13" # iterator methods used for building device tree
 rusb = { version = "0.9.4", optional = true } # libusb bindings
-nusb = { version = "0.2.0", optional = true } # pure Rust USB library
 serde = { version = "1.0", features = ["derive"] } # --json serialisation and --from-json deserialisation
 serde_json = "1.0.87"
 serde_with = ">= 2.0.1, <= 3"
@@ -61,10 +60,9 @@
 usb_test = [] # testing with phyiscal USB devices
 regex_icon = ["dep:regex"] # icon name lookup with regex
 cli_generate = ["dep:clap_complete", "dep:clap_mangen"] # for generating man and completions
-native = ["nusb", "udev"] # pure Rust USB and udev bindings
 ffi = ["libusb", "udevlib"] # C bindings for libusb and libudev
 bin = []
-default = ["native", "regex_icon", "bin"] # default native Rust USB (nusb, udevrs) with regex icon name lookup
+default = ["libusb", "regex_icon", "udev", "bin"]
 
 [[bin]]
 name = "cyme"