Skip to content

Commit 02ca748

Browse files
committed
Migrate from async-mutex to async-lock
1 parent 0ba9958 commit 02ca748

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ log = "0.4.11"
2424

2525
async-trait = "0.1.42"
2626
async-io = "1.3.1"
27-
async-mutex = "1.4.0"
27+
async-lock = "2.3.0"
2828
async-executor = "1.4.0"
2929
blocking = "1.0.2"
3030
futures-lite = "1.11.2"

src/server/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use async_executor::Executor;
22
use async_io::Async;
3-
use async_mutex::Mutex;
3+
use async_lock::Mutex;
44
use std::collections::HashSet;
55
use std::net::{SocketAddr, UdpSocket};
66
use std::path::Path;

src/server/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use async_executor::Executor;
22
use async_io::Async;
3-
use async_mutex::Mutex;
3+
use async_lock::Mutex;
44
use log::trace;
55
use std::collections::HashSet;
66
use std::future::Future;

0 commit comments

Comments
 (0)