NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2878 most downloaded on crates.io
A realtime-safe single-producer single-consumer ring buffer
Latest stable
0.4.1
Last release 28 days ago
25 Oct 2026
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 17 of 17 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
18 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
https://crates.io/crates/rtrb/0.4.1
https://crates.io/crates/rtrb/0.4.1
ReadChunkIntoIterhttps://crates.io/crates/rtrb/0.4.0
https://crates.io/crates/rtrb/0.4.0
is_abandoned() (by replacing Arc)
Producer/Consumer on one thread now synchronizes again with calling is_abandoned() on another thread, independent of Rust versionReadChunk::commit()/commit_all() panic-safe (avoid UB caused by double-free)rtrb 0.4.0 Latest
Latest
Compare
Your coding agent can read these notes before it upgrades. Set up the MCP server →
https://crates.io/crates/rtrb/0.3.6
https://crates.io/crates/rtrb/0.3.6
This is a back-port of the bug-fix from version 0.4.1:
ReadChunkIntoIterhttps://crates.io/crates/rtrb/0.3.5
https://crates.io/crates/rtrb/0.3.5
This is a bug-fix release to fix this:
If you want the newest (at the time or writing) release, use 0.4.0.
this is not a breaking change, but an additional warning might appear
https://crates.io/crates/rtrb/0.3.4
ReadChunkIntoIter::iterated()must_use in *_partial_slice()
https://crates.io/crates/rtrb/0.3.3
https://crates.io/crates/rtrb/0.3.3
push_partial_slice(), pop_partial_slice(), push_entire_slice(), pop_entire_slice()cached_slots()https://crates.io/crates/rtrb/0.3.2
https://crates.io/crates/rtrb/0.3.2
https://crates.io/crates/rtrb/0.3.1
https://crates.io/crates/rtrb/0.3.1
Note that the behavior of the is_abandoned() method has changed in Rust 1.74.0 (which is independent of the rtrb version), see https://github.com/mgeier/rtrb/issues/114.
https://crates.io/crates/rtrb/0.3.1
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.
Change deprecated cache_padded::CachePadded to crossbeam_utils::CachePadded
https://crates.io/crates/rtrb/0.3.0
ReadChunk::as_mut_slices()cache_padded::CachePadded to crossbeam_utils::CachePaddedhttps://crates.io/crates/rtrb/0.2.3
https://crates.io/crates/rtrb/0.2.3
copy_to_uninit()https://crates.io/crates/rtrb/0.2.2
https://crates.io/crates/rtrb/0.2.2
Send for chunk typesWriteChunk: use PhantomData<T>https://crates.io/crates/rtrb/0.2.2
Send for chunk typesWriteChunk: use PhantomData<T>https://crates.io/crates/rtrb/0.2.1
https://crates.io/crates/rtrb/0.2.1
WriteChunkthis is strictly speaking a breaking change, but it's unlikely that anyone relied on it returning nothing
split() has been removed, new() returns a (Producer, Consumer) pair
RingBuffer cannot be owned anymore (but Producer and Consumer still can)split() can simply be removedchunks module
ChunkError has to be imported as chunks::ChunkErrorIntoIterator and can be directly used in for loops or can be explicitly turned into an iterator with into_iter()fill_from_iter() method that moves items from an iterator into the ring bufferDefault-initialized write chunks don't provide an iterator API (just use uninitialized chunks instead)&T, &mut T and &mut MaybeUninit<T> is not available anymore, but it can be emulated by iterating over the slices returned by as_slices() and as_mut_slices() (use chain() to iterate over both slices)with_chunks() constructor has been removed
new() insteadreset() has been removed
CopyToUninit::copy_to_uninit() now returns &mut [T]
Copy trait bound has been removed from write_chunk() (Default is still required)Debug, Eq and PartialEq implementations have been addedhttps://crates.io/crates/rtrb/0.1.4
https://crates.io/crates/rtrb/0.1.4
is_abandoned() method to producer and consumerhttps://crates.io/crates/rtrb/0.1.3
https://crates.io/crates/rtrb/0.1.3
#![no_std] supporthttps://crates.io/crates/rtrb/0.1.2
https://crates.io/crates/rtrb/0.1.2
Drop implhttps://crates.io/crates/rtrb/0.1.1
https://crates.io/crates/rtrb/0.1.1
Producer::buffer and Consumer::buffer fields; provide buffer() methods instead. This fixes a soundness problem, see #26.https://crates.io/crates/rtrb/0.1.0
https://crates.io/crates/rtrb/0.1.0
Initial release.
NOTE: This version has been yanked because of a soundness problem (see #26).
One column per quarter.