- manual eventloop now replaced by asycn-await using the tokio runtime
- dns no longer blocks the event loop
- simplifies logic
- makes xdg-desktop-portal easier to integrate
This commit is contained in:
Ferdinand Schober
2023-10-11 14:52:18 +02:00
committed by GitHub
parent d4d6f05802
commit ab2514e508
13 changed files with 453 additions and 565 deletions

27
Cargo.lock generated
View File

@@ -685,11 +685,10 @@ dependencies = [
"libc",
"log",
"memmap",
"mio",
"mio-signals",
"serde",
"serde_json",
"tempfile",
"tokio",
"toml",
"trust-dns-resolver",
"wayland-client",
@@ -842,22 +841,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"
dependencies = [
"libc",
"log",
"wasi",
"windows-sys",
]
[[package]]
name = "mio-signals"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21e9524e26c8749824640a1282b68a695b21d55862efa6d465b5f71107c93368"
dependencies = [
"libc",
"log",
"mio",
]
[[package]]
name = "nix"
version = "0.26.4"
@@ -1346,9 +1333,21 @@ dependencies = [
"num_cpus",
"pin-project-lite",
"socket2",
"tokio-macros",
"windows-sys",
]
[[package]]
name = "tokio-macros"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.37",
]
[[package]]
name = "toml"
version = "0.7.8"