File: 1001_async-global-executor.patch

package info (click to toggle)
rust-async-std 1.13.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,988 kB
  • sloc: sh: 13; makefile: 8
file content (27 lines) | stat: -rw-r--r-- 942 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
Description: accept newer major version of crate async-global-executor
Author: Jonas Smedegaard <dr@jones.dk>
Bug-Debian: https://bugs.debian.org/1116219
Forwarded: not-needed
Last-Update: 2025-09-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -57,8 +57,6 @@
   "pin-project-lite",
 ]
 tokio1 = ["async-global-executor/tokio"]
-tokio02 = ["async-global-executor/tokio02"]
-tokio03 = ["async-global-executor/tokio03"]
 io_safety = []
 
 [dependencies]
@@ -81,7 +79,7 @@
 
 
 [target.'cfg(not(target_os = "unknown"))'.dependencies]
-async-global-executor = { version = "2.4.0", optional = true, features = ["async-io"] }
+async-global-executor = { version = ">= 2.4.0, <= 3", optional = true, features = ["async-io"] }
 async-io = { version = "2.2.0", optional = true }
 futures-lite = { version = "2.0.0", optional = true }
 async-process = { version = "2.0.0", optional = true }