File: disable-unstable-features.patch

package info (click to toggle)
rust-hyper 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,036 kB
  • sloc: makefile: 2
file content (35 lines) | stat: -rw-r--r-- 719 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
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -76,6 +76,6 @@
 default = []
-ffi = [
-    "dep:http-body-util",
-    "dep:futures-util",
-]
+#ffi = [
+#    "dep:http-body-util",
+#    "dep:futures-util",
+#]
 full = [
@@ -97,3 +97,3 @@
 ]
-nightly = []
+#nightly = []
 server = [
@@ -103,3 +103,3 @@
 ]
-tracing = ["dep:tracing"]
+#tracing = ["dep:tracing"]
 
@@ -163,3 +163,3 @@
 
-[dependencies.tracing]
+[disabled.dependencies.tracing]
 version = "0.1"
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -5,3 +5,3 @@
 #![cfg_attr(all(test, feature = "full"), deny(warnings))]
-#![cfg_attr(all(test, feature = "nightly"), feature(test))]
+//#![cfg_attr(all(test, feature = "nightly"), feature(test))]
 #![cfg_attr(docsrs, feature(doc_cfg))]