Skip to content

Commit 92e64c5

Browse files
authored
Merge pull request #13 from HadrienG2/cache-padded
Try out cache-padded as a simpler alternative to crossbeam-utils
2 parents 12c704b + 2513909 commit 92e64c5

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
_No unreleased changes in the pipeline at the moment._
1212

1313

14+
## [5.0.5] - 2020-07-05
15+
16+
### Changed
17+
18+
- Use only cache-padded instead of the full crossbeam-utils crate
19+
- Clean up CI config and cache Rust toolchain there
20+
21+
1422
## [5.0.4] - 2020-02-10
1523

1624
### Added
@@ -219,7 +227,8 @@ _No unreleased changes in the pipeline at the moment._
219227

220228

221229

222-
[Unreleased]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.4...HEAD
230+
[Unreleased]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.5...HEAD
231+
[5.0.4]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.4...v5.0.5
223232
[5.0.4]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.3...v5.0.4
224233
[5.0.3]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.2...v5.0.3
225234
[5.0.2]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.1...v5.0.2

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "triple_buffer"
3-
version = "5.0.4"
3+
version = "5.0.5"
44
authors = ["Hadrien G. <[email protected]>"]
55
description = "An implementation of triple buffering, useful for sharing frequently updated data between threads"
66
documentation = "https://docs.rs/triple_buffer/"
@@ -21,7 +21,7 @@ raw = []
2121
maintenance = { status = "passively-maintained" }
2222

2323
[dependencies]
24-
crossbeam-utils = "0.7"
24+
cache-padded = "1.1"
2525

2626
[dev-dependencies]
2727
testbench = "0.7"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
7777
#![deny(missing_debug_implementations, missing_docs)]
7878

79-
use crossbeam_utils::CachePadded;
79+
use cache_padded::CachePadded;
8080

8181
use std::{
8282
cell::UnsafeCell,

0 commit comments

Comments
 (0)