Skip to content

Commit

Permalink
Replace async-mutex with async-lock (#2869)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored Sep 13, 2024
1 parent 1b3eb3d commit 5155158
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 17 deletions.
45 changes: 37 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ arrayvec = "0.7.6"
assert_cmd = "2.0"
assert_matches = "1.5.0"
async-channel = "1.9.0"
async-mutex = "1.4.0"
async-lock = "3.4.0"
async-trait = "0.1.82"
atty = "0.2.11"
backoff = "0.4.0"
Expand Down
41 changes: 35 additions & 6 deletions programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion quic-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = { workspace = true }
edition = { workspace = true }

[dependencies]
async-mutex = { workspace = true }
async-lock = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
itertools = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion quic-client/src/nonblocking/quic_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! and provides an interface for sending data which is restricted by the
//! server's flow control.
use {
async_mutex::Mutex,
async_lock::Mutex,
async_trait::async_trait,
futures::future::{join_all, TryFutureExt},
itertools::Itertools,
Expand Down

0 comments on commit 5155158

Please sign in to comment.