File: 2002_pipe.patch

package info (click to toggle)
rust-clio 0.3.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: sh: 20; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 1,015 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 pipe
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-09-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,17 +16,10 @@
 features = ["http-ureq", "clap-parse"]
 
 [features]
-http = ["url"]
-http-curl = ["curl", "pipe", "http"]
-http-ureq = ["ureq", "pipe", "http"]
 clap-parse = ["clap"]
 
 [dependencies]
-curl = { version = "0.4", optional = true }
-ureq = { version = "2.0", optional = true }
-pipe = { version = "0.4", optional = true }
 clap = { version = ">=3.2, < 5.0", features = ["derive"], optional = true}
-url = { version = "2.3.1", optional = true }
 cfg-if = "1.0.0"
 tempfile = "3.3.0"
 walkdir = "2.3.3"
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,6 +2,7 @@
 #![forbid(missing_docs)]
 #![warn(clippy::all)]
 #![deny(warnings)]
+#![allow(unexpected_cfgs)]
 #![deny(clippy::print_stdout)]
 #![allow(clippy::needless_doctest_main)]
 #![cfg_attr(docsrs, feature(doc_cfg))]