All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
No unreleased changes in the pipeline at the moment
8.0.0 - 2024-06-21
- Add
Output::peek_output_buffer()
method to get read-only access to the output buffer from a shared reference to self. Thanks @tk70!
- Bumped MSRV to 1.74 owing to new dependency requirements.
- Refactor CI workflow file to account for the latest GitHub CI oddities.
7.0.0 - 2023-10-22
- Bumped MSRV to 1.70 owing to new dependency requirements.
6.2.0 - 2022-06-27
- A
triple_buffer()
shorthand is now available for the commonTripleBuffer::new().split()
pattern.
- The documentation example now features multi-threading to clarify ownership.
6.1.0 - 2022-10-05
triple-buffer
is now usable inno_std
contexts where an implementation of thealloc
crate is available.
6.0.0 - 2021-12-18
- Latest dependency versions require Rust 1.46, we bump MSRV accordingly.
- ...and since that's a breaking change, I'm also flushing the breaking change
pipeline along the way:
- TripleBuffer::new now takes a reference to its input.
- The deprecated
raw
feature is now removed.
5.0.6 - 2021-01-16
- As a result of the bugfix mentioned below, there is no performance motivation
to gate
raw
features behind a feature flag, so those features are now available by default without araw_
prefix. Usage of theraw_
prefix and theraw
feature flag is deprecated and these may be removed in a future major release, but it doesn't harm to keep them indefinitely for now.
- Benchmarks now use
criterion
, and have been significantly cleaned up along the way. They are now more extensive and more reliable. - Moved MSRV to Rust 1.36 because we now use crossbeam for testing, which requires that much. The crate itself should still support Rust 1.34 for now, but we cannot test that it continues doing so...
- Removed a possibility of data race that was not observed on current hardware, but could be triggered by future hardware or compiler evolutions. See #14 .
5.0.5 - 2020-07-05
- 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
- Add a changelog to the repository.
- Deduplicate CI configuration some more.
- Drop now-unnecessary manual
rustfmt
configuration. - Avoid false sharing of back-buffer information.
5.0.3 - 2020-02-07
- Clean up and deduplicate GitHub Actions configuration.
- Tune down concurrent test speed to reduce CI false positives.
5.0.2 - 2020-01-29
- Move continuous integration to GitHub Actions.
5.0.1 - 2019-11-07
- Update to current version of dependencies.
5.0.0 - 2019-04-12
- Bump travis CI configuration to Ubuntu Xenial.
- Bump minimal supported Rust version to 1.34.0.
- Don't use an
usize
for buffer indices where anu8
will suffice. - Improve Rust API guidelines compliance.
4.0.1 - 2018-12-31
- Display
raw
feature documentation on docs.rs.
4.0.0 - 2018-12-18
- Migrate to Rust 2018.
- Bump minimal supported Rust version to 1.31.0.
- Update to current version of dependencies.
- Start using Clippy and integrate it into continuous integration.
- Re-apply
rustfmt
coding style (was not in CI at the time...).
3.0.1 - 2018-08-27
- Make
testbench
a dev-dependency, as it's only used for tests and benchmarks.
3.0.0 - 2018-08-27
- Buffers are now padded to the size of a cache line to reduce false sharing.
- Bump minimal supported Rust version to 1.26.0.
- Make
testbench
version requirement more explicit.
2.0.0 - 2018-02-11
- Switch license to MPLv2, which is a better match to Rust's static linking philosophy than LGPL.
1.1.1 - 2017-11-19
- Fix my understanding of Cargo features & make the
raw
feature actually work.
1.1.0 - 2017-11-18
- Allow in-place writes on the input and output side, at the cost of stronger
synchronization barriers, through use of the
raw
Cargo feature.
- Do not require a
Clone
bound on the inner data.
1.0.0 - 2017-11-10
- Simplify component naming convention, e.g.
TripleBufferInput
->Input
.
0.3.4 - 2017-06-25
- Use
testbench::RaceCell
as an improved form of data race detection in tests.
- Do not require a
PartialEq
bound on the inner data.
0.3.3 - 2017-06-15
- Tune down concurrent test speed to reduce CI false positives.
0.3.2 - 2017-06-15
- Tune down concurrent test speed to reduce CI false positives.
0.3.1 - 2017-06-15
- Tune down concurrent test speed to reduce CI false positives.
0.3.0 - 2017-06-14
- Introduce Travis CI continuous integration.
- Use CI to clarify minimal supported Rust version (currently 1.12.0).
0.2.4 - 2017-04-04
- Use
testbench
crate for concurrent testing and benchmarking.
0.2.3 - 2017-03-24
- More detailed comparison with other synchronization primitives in README.
- Adopt
rustfmt
coding style.
0.2.2 - 2017-03-20
- Reduce reliance on Acquire-Release synchronization.
0.2.1 - 2017-03-11
- Make README a bit more spambot-proof.
0.2.0 - 2017-03-11
- First tagged release of triple-buffer.