replace cache_padded with crossbeam-utils (#26)

This commit is contained in:
John Nunley 2022-09-06 09:22:39 -07:00 committed by GitHub
parent 9553e6fa92
commit 06c99537c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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};

View File

@ -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};