diff --git a/src/bastion/Cargo.toml b/src/bastion/Cargo.toml index 582c2856..1d536855 100644 --- a/src/bastion/Cargo.toml +++ b/src/bastion/Cargo.toml @@ -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/*", @@ -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 diff --git a/src/bastion/src/system.rs b/src/bastion/src/system.rs index 9ff74f15..1c8272ce 100644 --- a/src/bastion/src/system.rs +++ b/src/bastion/src/system.rs @@ -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;