File: 2002_cansi.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 (36 lines) | stat: -rw-r--r-- 1,903 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
35
36
Description: avoid not-in-debian crate cansi
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-04-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,6 @@
 clap_complete = { version = "4.0.6", optional = true } # CLI completions
 clap_mangen = { version = "0.2.5", optional = true } # for generating man - could manually do this
 colored = "3.0.0" # terminal colouring helper
-cansi = { version = "=2.2.1", optional = true } # ANSI escape code helper; decolored - no dependencies
 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
@@ -37,8 +36,6 @@
 uuid = { version = "1.9.1", features = ["serde"] } # descriptor UUID field support as type
 pci-ids = "0.2.5" # PCI ID database
 unicode-width = "0.2.0" # ensure USB device table is printed with equal width columns - zero dependencies
-crossterm = { version = "0.28.1", optional = true } # watch: terminal manipulation
-futures-lite = { version = "2.6.0", optional = true } # watch: async helper
 chrono = { version = "0.4.39", features = ["serde"] } # watch: event times as human readable
 
 [dev-dependencies]
@@ -66,9 +63,8 @@
 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
-watch = ["crossterm", "futures-lite", "nusb", "cansi"] # watch mode
 bin = []
-default = ["native", "regex_icon", "watch", "bin"] # default native Rust USB (nusb, udevrs) with regex icon name lookup
+default = ["native", "regex_icon", "bin"] # default native Rust USB (nusb, udevrs) with regex icon name lookup
 
 [[bin]]
 name = "cyme"