Skip to content

Commit

Permalink
replace cache_padded with crossbeam-utils (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
notgull authored Sep 6, 2022
1 parent 9553e6f commit 06c9953
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/bounded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down
2 changes: 1 addition & 1 deletion src/unbounded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down

0 comments on commit 06c9953

Please sign in to comment.