future: add adapters of CancellationToken for FutureExt (#7475)

This commit is contained in:
yanyuxing
2025-07-29 18:09:13 +08:00
committed by GitHub
parent 1b27e17ff8
commit 0e5c5d64f5
8 changed files with 568 additions and 60 deletions
+2 -2
View File
@@ -24,9 +24,9 @@ default = []
full = ["codec", "compat", "io-util", "time", "net", "rt"]
net = ["tokio/net"]
compat = ["futures-io",]
compat = ["futures-io"]
codec = []
time = ["tokio/time","slab"]
time = ["tokio/time", "slab"]
io = []
io-util = ["io", "tokio/rt", "tokio/io-util"]
rt = ["tokio/rt", "tokio/sync", "futures-util", "hashbrown"]