Skip to content

Commit

Permalink
Merge pull request #13 from HadrienG2/cache-padded
Browse files Browse the repository at this point in the history
Try out cache-padded as a simpler alternative to crossbeam-utils
  • Loading branch information
HadrienG2 committed Jul 5, 2020
2 parents 12c704b + 2513909 commit 92e64c5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
_No unreleased changes in the pipeline at the moment._


## [5.0.5] - 2020-07-05

### Changed

- Use only cache-padded instead of the full crossbeam-utils crate
- Clean up CI config and cache Rust toolchain there


## [5.0.4] - 2020-02-10

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



[Unreleased]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.4...HEAD
[Unreleased]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.5...HEAD
[5.0.4]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.4...v5.0.5
[5.0.4]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.3...v5.0.4
[5.0.3]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.2...v5.0.3
[5.0.2]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.1...v5.0.2
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "triple_buffer"
version = "5.0.4"
version = "5.0.5"
authors = ["Hadrien G. <knights_of_ni@gmx.com>"]
description = "An implementation of triple buffering, useful for sharing frequently updated data between threads"
documentation = "https://docs.rs/triple_buffer/"
Expand All @@ -21,7 +21,7 @@ raw = []
maintenance = { status = "passively-maintained" }

[dependencies]
crossbeam-utils = "0.7"
cache-padded = "1.1"

[dev-dependencies]
testbench = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

#![deny(missing_debug_implementations, missing_docs)]

use crossbeam_utils::CachePadded;
use cache_padded::CachePadded;

use std::{
cell::UnsafeCell,
Expand Down

0 comments on commit 92e64c5

Please sign in to comment.