File: rust-drop-nom7.patch

package info (click to toggle)
prips 1.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 436 kB
  • sloc: ansic: 393; sh: 388; makefile: 74
file content (26 lines) | stat: -rw-r--r-- 632 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
Description: Drop any mention of nom 7.x from Cargo.toml
 We don't build with the nom7 feature, and there is no nom 7.x
 crate in Debian any more anyway.
Forwarded: not-needed
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2026-03-22

--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -20,7 +20,7 @@
 [features]
 default = []
 
-nom7 = ["dep:nom7"]
+nom7 = []
 nom8 = ["dep:nom8"]
 
 [dependencies]
@@ -28,7 +28,6 @@
 clap = "4.5.23"
 clap_derive = "4.5.18"
 winnow = "0.7.13"
-nom7 = { package = "nom", version = "7.1.3", optional = true }
 nom8 = { package = "nom", version = "8.0.0", optional = true }
 
 [dev-dependencies]