File: 2002_tests.patch

package info (click to toggle)
rust-smol 2.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 536 kB
  • sloc: makefile: 2; sh: 1
file content (43 lines) | stat: -rw-r--r-- 1,254 bytes parent folder | download | duplicates (3)
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
37
38
39
40
41
42
43
Description: avoid test-building examples or depending on crates for them
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-08-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,6 +14,9 @@
 categories = ["asynchronous", "concurrency", "network-programming"]
 exclude = ["/.*"]
 
+# avoid testing examples (some crates needed for those are missing)
+autoexamples = false
+
 [dependencies]
 async-channel = "2.0.0"
 async-executor = "1.5.0"
@@ -29,24 +32,11 @@
 
 [dev-dependencies]
 anyhow = "1"
-async-dup = "1"
-async-h1 = "2"
-async-native-tls = "0.5"
-async-tungstenite = { version = "0.27", features = ["async-native-tls"] }
 ctrlc = "3"
 doc-comment = "0.3"
 futures = "0.3"
-http = "1.1"
-http-body-util = "0.1.0"
-http-types = "2"
-hyper = { version = "1.0", default-features = false, features = ["client", "http1", "server"] }
-macro_rules_attribute = "0.2.0"
 native-tls = "0.2"
-scraper = "0.20"
 signal-hook = "0.3"
-smol-hyper = "0.1.0"
-smol-macros = "0.1.0"
-surf = { version = "2", default-features = false, features = ["h1-client"] }
 tempfile = "3"
 tokio = { version = "1", default-features = false, features = ["rt-multi-thread"] }
 url = "2"