PackageTrack
Sign in Get early access

ringbuffer-spsc

A fast thread-safe single producer-single consumer ring buffer

0.2.2 4.3M downloads/mo #4871 most downloaded on crates.io Mallets/ringbuffer-spsc

What this package is like to depend on

Last release 6 months ago

27 Jan 2026

Ships unpredictably

gaps range from 2 weeks to 2.1 years

Rarely documented

notes for 3 of 17 stable releases

2 versions withdrawn

withdrawn after publishing

4 years old

19 releases · first in 2022

5 releases in the last 12 months

see the full history below

Release timeline

19 releases · Jul 2022 to Jan 2026
2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 19
  1. 0.2.2 27 Jan 2026
    Release notes
    • Fix miri warning on aliasing issues

    Full Changelog: v0.2.1...v0.2.2

    Open source →
  2. 0.2.1 06 Jan 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: https://github.com/Mallets/ringbuffer-spsc/commits/v0.2.1

    Open source →
  3. 0.2.0 22 Nov 2025
    Release notes

    Removal of const generic for RingBuffer capacity

    The RingBuffer no longer relies on a const generic parameter for its capacity.
    The capacity is now stored directly in memory, making it significantly easier to embed both the RingbufferReader and RingbufferWriter inside user-defined structs without needing to propagate const generics through your type system.

    This change improves ergonomics and simplifies integration into other data structures.

    New initialization API

    The RingBuffer is now constructed using the ringbuffer() function instead of the former RingBuffer::init() associated method.

    let (mut reader, mut writer) = ringbuffer(capacity);

    This provides a cleaner and more intuitive initialization API.

    New reader methods: peek and peek_mut

    RingbufferReader now supports:

    • peek() – inspect data without consuming it
    • peek_mut() – mutably inspect data without consuming it

    These methods allow lookahead operations and in-place modifications while preserving the unread portion of the buffer.

    Open source →
  4. 0.1.15 03 Sep 2025

    Nothing published for this version

  5. 0.1.14 03 Sep 2025

    Nothing published for this version

  6. 0.1.13 10 Feb 2025

    Nothing published for this version

  7. 0.1.12 10 Feb 2025 withdrawn

    Nothing published for this version

  8. 0.1.11 29 Jan 2025

    Nothing published for this version

  9. 0.1.10 29 Jan 2025

    Nothing published for this version

  10. 0.1.9 30 Dec 2022

    Nothing published for this version

  11. 0.1.8 12 Dec 2022

    Nothing published for this version

  12. 0.1.7 08 Dec 2022 withdrawn

    Nothing published for this version

  13. 0.1.6 22 Sep 2022

    Nothing published for this version

  14. 0.1.5 22 Sep 2022

    Nothing published for this version

  15. 0.1.4 22 Sep 2022

    Nothing published for this version

  16. 0.1.3 27 Jul 2022

    Nothing published for this version

  17. 0.1.2 27 Jul 2022

    Nothing published for this version

  18. 0.1.1 27 Jul 2022

    Nothing published for this version

  19. 0.1.0 27 Jul 2022

    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