File: 2002_no_feature_surf.patch

package info (click to toggle)
rust-async-std 1.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,992 kB
  • sloc: sh: 13; makefile: 8
file content (21 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: avoid dev-only feature surf and example surf-web
 Requires not-in-Debian crate surf,
 and likely fails testing where network access is blocked.
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-02-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -73,10 +73,6 @@
 slab = { version = "0.4.2", optional = true }
 async-channel = { version = ">= 1.8.0, <= 2", optional = true }
 
-# dev dependency, but they are not allowed to be optional :/
-surf = { version = "2.0.0", optional = true }
-
-
 [target.'cfg(not(target_os = "unknown"))'.dependencies]
 async-global-executor = { version = "2.4.0", optional = true, features = ["async-io"] }
 async-io = { version = "2.2.0", optional = true }