prefer CancellationToken / Notify to channel

This commit is contained in:
Ferdinand Schober
2024-07-10 22:03:56 +02:00
parent 8ba92ede34
commit 9c0a40563e
4 changed files with 92 additions and 57 deletions

14
Cargo.lock generated
View File

@@ -1208,6 +1208,7 @@ dependencies = [
"tempfile",
"thiserror",
"tokio",
"tokio-util",
"wayland-client",
"wayland-protocols",
"wayland-protocols-wlr",
@@ -2049,6 +2050,19 @@ dependencies = [
"syn",
]
[[package]]
name = "tokio-util"
version = "0.7.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1"
dependencies = [
"bytes",
"futures-core",
"futures-sink",
"pin-project-lite",
"tokio",
]
[[package]]
name = "toml"
version = "0.8.14"