summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2024-03-08 17:31:13 -0500
committerMica White <botahamec@outlook.com>2024-03-08 17:31:13 -0500
commit8e638052593d2636a7b457bb869be10671f156bb (patch)
tree98624154b52cf48bf96fd430acfeca9be709d923
parentded44ec228b3eaceed820585882414831eb196c0 (diff)
Remove std mutex
-rw-r--r--Cargo.toml1
-rw-r--r--src/mutex.rs3
2 files changed, 0 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 30a8bf7..527b736 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,7 +10,6 @@ license = "Unlicense"
[dependencies]
thread_local = "1"
once_cell = "1"
-antidote = "1"
lock_api = "0.4"
parking_lot = "0.12"
spin = "0.9"
diff --git a/src/mutex.rs b/src/mutex.rs
index 9298b0c..f6b86de 100644
--- a/src/mutex.rs
+++ b/src/mutex.rs
@@ -12,9 +12,6 @@ pub type SpinLock<T> = Mutex<T, spin::Mutex<()>>;
/// A parking lot mutex
pub type ParkingMutex<T> = Mutex<T, parking_lot::RawMutex>;
-/// A standard library mutex
-pub type StdMutex<T> = Mutex<T, antidote::Mutex<()>>;
-
/// A mutual exclusion primitive useful for protecting shared data, which
/// cannot deadlock.
///