diff --git a/Cargo.toml b/Cargo.toml index 4f6437c..f584064 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ tokio03 = ["tokio03-crate"] [dependencies] async-channel = "^1.5" async-executor = "^1.4" -async-mutex = "^1.4" +async-lock = "^2.5" blocking = "^1.0" futures-lite = "^1.0" num_cpus = "^1.13" diff --git a/src/threading.rs b/src/threading.rs index bbc3686..ed8b549 100644 --- a/src/threading.rs +++ b/src/threading.rs @@ -1,6 +1,6 @@ use crate::Task; use async_channel::{Receiver, Sender}; -use async_mutex::Mutex; +use async_lock::Mutex; use futures_lite::future; use once_cell::sync::OnceCell; use std::{io, thread};