From b883070b2d29d07fd837e1afb14041a85dfbf9e0 Mon Sep 17 00:00:00 2001 From: Serhij S Date: Fri, 5 Jul 2024 03:33:19 +0200 Subject: [PATCH] rtsc locking --- Cargo.toml | 1 - src/server.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 36d7e80..ca9b2a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,6 @@ features = ["full"] [dependencies] binrw = "0.13.3" -parking_lot_rt = "0.12.1" thiserror = "1.0.61" tracing = "0.1.40" serde = { version = "1.0.203", features = ["derive"] } diff --git a/src/server.rs b/src/server.rs index 32a4d8d..71be878 100644 --- a/src/server.rs +++ b/src/server.rs @@ -8,7 +8,7 @@ use std::{ }; use binrw::{BinRead, BinWrite}; -use parking_lot_rt::Mutex; +use rtsc::locking::Mutex; use rtsc::{cell::DataCell, semaphore::Semaphore}; use tracing::{error, trace};