File: fix-test-feature-requirements.patch

package info (click to toggle)
rust-actix-http 3.11.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,328 kB
  • sloc: makefile: 2
file content (25 lines) | stat: -rw-r--r-- 576 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
Index: actix-http/Cargo.toml
===================================================================
--- actix-http.orig/Cargo.toml
+++ actix-http/Cargo.toml
@@ -135,10 +135,12 @@ path = "examples/echo2.rs"
 [[example]]
 name = "h2c-detect"
 path = "examples/h2c-detect.rs"
+required-features = ["http2"]
 
 [[example]]
 name = "h2spec"
 path = "examples/h2spec.rs"
+required-features = ["http2"]
 
 [[example]]
 name = "hello-world"
@@ -168,6 +170,7 @@ required-features = [
 [[test]]
 name = "test_h2_timer"
 path = "tests/test_h2_timer.rs"
+required-features = ["http2"]