diff --git a/Cargo.lock b/Cargo.lock index af48dbb71..c1a52bdd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -202,12 +202,15 @@ dependencies = [ [[package]] name = "async-global-executor" -version = "1.4.3" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73079b49cd26b8fd5a15f68fc7707fc78698dc2a3d61430f2a7a9430230dfa04" +checksum = "9586ec52317f36de58453159d48351bc244bc24ced3effc1fce22f3d48664af6" dependencies = [ + "async-channel", "async-executor", "async-io", + "async-mutex", + "blocking", "futures-lite", "num_cpus", "once_cell", @@ -273,6 +276,15 @@ dependencies = [ "winapi", ] +[[package]] +name = "async-lock" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6a8ea61bf9947a1007c5cada31e647dbc77b103c679858150003ba697ea798b" +dependencies = [ + "event-listener", +] + [[package]] name = "async-mutex" version = "1.4.0" @@ -334,17 +346,16 @@ dependencies = [ [[package]] name = "async-std" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f9f84f1280a2b436a2c77c2582602732b6c2f4321d5494d6e799e6c367859a8" +checksum = "d9f06685bad74e0570f5213741bea82158279a4103d988e57bfada11ad230341" dependencies = [ "async-attributes", "async-channel", "async-global-executor", "async-io", - "async-mutex", + "async-lock", "async-process", - "blocking", "crossbeam-utils 0.8.3", "futures-channel", "futures-core", diff --git a/Cargo.toml b/Cargo.toml index 509524499..8b4a80a61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ async-imap = "0.4.0" async-native-tls = { version = "0.3.3" } async-smtp = { git = "https://github.com/async-email/async-smtp", rev="2275fd8d13e39b2c58d6605c786ff06ff9e05708" } async-std-resolver = "0.20.2" -async-std = { version = "~1.8.0", features = ["unstable"] } +async-std = { version = "~1.9.0", features = ["unstable"] } async-tar = "0.3.0" async-trait = "0.1.50" backtrace = "0.3.58" @@ -76,7 +76,7 @@ uuid = { version = "0.8", features = ["serde", "v4"] } [dev-dependencies] ansi_term = "0.12.0" -async-std = { version = "1.6.4", features = ["unstable", "attributes"] } +async-std = { version = "1.9.0", features = ["unstable", "attributes"] } criterion = "0.3" futures-lite = "1.7.0" log = "0.4.11" diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index f5cca8af0..f54a3cc00 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -20,7 +20,7 @@ libc = "0.2" human-panic = "1.0.1" num-traits = "0.2.6" serde_json = "1.0" -async-std = "1.6.0" +async-std = "1.9.0" anyhow = "1.0.40" thiserror = "1.0.14" rand = "0.7.3"