Skip to content

Commit

Permalink
Replace async-mutex with async-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Sep 14, 2024
1 parent 48d4c73 commit 2ff6537
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/bastion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ documentation = "https://docs.rs/bastion"
readme = "../../README.md"
license = "Apache-2.0/MIT"
edition = "2018"
rust-version = "1.63"
exclude = [
".github/*",
"examples/*",
Expand Down Expand Up @@ -64,7 +65,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
pin-utils = "0.1"

async-mutex = "1.1"
async-lock = "3.4"
uuid = { version = "0.8", features = ["v4"] }

# Distributed
Expand Down
2 changes: 1 addition & 1 deletion src/bastion/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::envelope::Envelope;
use crate::message::{BastionMessage, Deployment};
use crate::path::{BastionPath, BastionPathElement};
use crate::supervisor::{Supervisor, SupervisorRef};
use async_mutex::Mutex as AsyncMutex;
use async_lock::Mutex as AsyncMutex;
use bastion_executor::pool;
use futures::prelude::*;
use futures::stream::FuturesUnordered;
Expand Down

0 comments on commit 2ff6537

Please sign in to comment.