From 16fc471c1f5521d978159871107d9c55a458b425 Mon Sep 17 00:00:00 2001 From: jtnunley Date: Tue, 6 Sep 2022 08:38:34 -0700 Subject: [PATCH] replace cache_padded with crossbeam-utils --- Cargo.toml | 2 +- src/bounded.rs | 2 +- src/unbounded.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d7908ec..73abc7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ exclude = ["/.*"] bench = false [dependencies] -cache-padded = "1.1.1" +crossbeam-utils = { version = "0.8.11", default-features = false } [[bench]] name = "bench" diff --git a/src/bounded.rs b/src/bounded.rs index 28db25d..2ed2809 100644 --- a/src/bounded.rs +++ b/src/bounded.rs @@ -3,7 +3,7 @@ use core::cell::UnsafeCell; use core::mem::MaybeUninit; use core::sync::atomic::{AtomicUsize, Ordering}; -use cache_padded::CachePadded; +use crossbeam_utils::CachePadded; use crate::{busy_wait, PopError, PushError}; diff --git a/src/unbounded.rs b/src/unbounded.rs index abf406c..1815f5d 100644 --- a/src/unbounded.rs +++ b/src/unbounded.rs @@ -4,7 +4,7 @@ use core::mem::MaybeUninit; use core::ptr; use core::sync::atomic::{AtomicPtr, AtomicUsize, Ordering}; -use cache_padded::CachePadded; +use crossbeam_utils::CachePadded; use crate::{busy_wait, PopError, PushError};