PackageTrack
Sign in Get early access

rtrb

A realtime-safe single-producer single-consumer ring buffer

0.4.0 10M downloads/mo #3058 most downloaded on crates.io mgeier/rtrb

What this package is like to depend on

Last release 5 days ago

18 Aug 2026

Ships fairly regularly

a new release about every 4 months

Most releases are documented

notes for 10 of 15 stable releases

1 version withdrawn

withdrawn after publishing

6 years old

16 releases · first in 2020

4 releases in the last 12 months

see the full history below

Release timeline

16 releases · Nov 2020 to Aug 2026
2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 16
  1. 0.4.0 17 Aug 2026
    Release notes

    https://crates.io/crates/rtrb/0.4.0

    Breaking Changes

    • restore synchronization behavior of is_abandoned() (by replacing Arc)
      • dropping a Producer/Consumer on one thread now synchronizes again with calling is_abandoned() on another thread, independent of Rust version

    Bug-Fixes

    • make ReadChunk::commit()/commit_all() panic-safe (avoid UB caused by double-free)
    Open source →
    Release notes

    rtrb 0.4.0 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 0.3.5 18 Aug 2026
    Release notes

    https://crates.io/crates/rtrb/0.3.5

    This is a bug-fix release to fix this:

    • make ReadChunk::commit()/commit_all() panic-safe (avoid UB caused by double-free)

    If you want the newest (at the time or writing) release, use 0.4.0.

    Open source →
    Release notes

    rtrb 0.3.5

    Compare

    Choose a tag to compare

    Open source →
  3. 0.3.4 26 Apr 2026
    Release notes

    https://crates.io/crates/rtrb/0.3.4

    • add ReadChunkIntoIter::iterated()
    • use must_use in *_partial_slice()
      • this is not a breaking change, but an additional warning might appear
    Open source →
    Release notes

    rtrb 0.3.4

    Compare

    Choose a tag to compare

    Open source →
  4. 0.3.3 24 Feb 2026
    Release notes

    https://crates.io/crates/rtrb/0.3.3

    • add push_partial_slice(), pop_partial_slice(), push_entire_slice(), pop_entire_slice()
    • add cached_slots()
    Open source →
    Release notes

    rtrb 0.3.3

    Compare

    Choose a tag to compare

    Open source →
  5. 0.3.2 04 Jan 2025
    Release notes

    https://crates.io/crates/rtrb/0.3.2

    • Update crossbeam submodule
    • Revert to caching both head and tail index
      • This fixes a performance regression on AMD CPUs, see #132
    Open source →
    Release notes

    rtrb 0.3.2

    Compare

    Choose a tag to compare

    Open source →
  6. 0.3.1 26 May 2024
    Release notes

    https://crates.io/crates/rtrb/0.3.1

    • update benchmarks, add performance comparison between crates
    • Don't cache head/tail index in Consumer/Producer
    • Use CachePadded from crossbeam submodule

    Note that the behavior of the is_abandoned() method has changed in Rust 1.74.0 (which is independent of the rtrb version), see #114.

    Open source →
    Release notes

    rtrb 0.3.1

    Compare

    Choose a tag to compare

    Open source →
  7. 0.3.0 12 Nov 2023
    Release notes

    https://crates.io/crates/rtrb/0.3.0

    • add ReadChunk::as_mut_slices()
    • bump minimum supported Rust version (MSRV) to 1.38
    • Change deprecated cache_padded::CachePadded to crossbeam_utils::CachePadded
    Open source →
    Release notes

    rtrb 0.3.0

    Compare

    Choose a tag to compare

    Open source →
  8. 0.2.3 13 Dec 2022
    Release notes

    https://crates.io/crates/rtrb/0.2.3

    • Add explicit lifetime to copy_to_uninit()
    Open source →
    Release notes

    rtrb 0.2.3

    Compare

    Choose a tag to compare

    Open source →
  9. 0.2.2 04 Mar 2022
    Release notes

    https://crates.io/crates/rtrb/0.2.2

    • Implement Send for chunk types
    • WriteChunk: use PhantomData<T>
    Open source →
    Release notes

    rtrb 0.2.2

    Compare

    Choose a tag to compare

    Open source →
  10. 0.2.1 09 Jan 2022
    Release notes

    https://crates.io/crates/rtrb/0.2.1

    • Fix dropping behavior in WriteChunk
    Open source →
    Release notes

    rtrb 0.2.1

    Compare

    Choose a tag to compare

    Open source →
  11. 0.2.0 20 Sep 2021

    Nothing published for this version

  12. 0.1.4 04 Jun 2021

    Nothing published for this version

  13. 0.1.3 14 Apr 2021

    Nothing published for this version

  14. 0.1.2 19 Dec 2020

    Nothing published for this version

  15. 0.1.1 20 Nov 2020

    Nothing published for this version

  16. 0.1.0 18 Nov 2020 withdrawn

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive