ringbuffer
A fixed-size circular buffer
0.16.0
6.9M downloads/mo
#3815 most downloaded on crates.io
NULLx76/ringbuffer
What this package is like to depend on
Last release 1 years ago
11 Jul 2025
Ships unpredictably
gaps range from 9 days to 1.8 years
Some releases are documented
notes for 7 of 20 stable releases
11 versions withdrawn
withdrawn after publishing
7 years old
31 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
31 releases · Jun 2019 to Jul 2025Releases
latest 31-
1.0.004 Oct 2020 withdrawnNothing published for this version
-
0.16.011 Jul 2025Release notes
Open source →What's Changed
- Implement nth and nth_back to provide a O(1) way of skipping through elements by @cdellacqua in #142
- Increase copy speed by orders of magnitude by @cdellacqua in #142
Full Changelog: 0.15.0...v0.16.0
-
0.15.015 Sep 2023Release notes
Open source →What's Changed
- disallow certain useful pedantic clippy lints. by @jdonszelmann in #85
- -20% on some tests due to removed bounds check by @jdonszelmann in #88
- growable ringbuffer by @jdonszelmann in #92
- Use box by @jdonszelmann in #87
- remove capacity defaults for alloc ringbuffer by @jdonszelmann in #82
- release 0.14.0 by @jdonszelmann in #96
- Coverage by @NULLx76 in #97
- conversions by @jdonszelmann in #98
- Test clone by @jdonszelmann in #100
- export sizes by @jdonszelmann in #102
- into iterator by @jdonszelmann in #101
- Readme by @jdonszelmann in #104
docs: fix link toVecDequeby @tertsdiepraam in #108README: make the ringbuffer names link to the docs by @tertsdiepraam in #107- make
skipa provided method ofRingBufferReadby @tertsdiepraam in #109 - fix docs on default for const generics by @jdonszelmann in #111
- Merge ringbuffer traits by @jdonszelmann in #105
- Into iterator ref by @jdonszelmann in #106
- Make alloc ringbuffers Send+Sync by @jdonszelmann in #117
- Fix importing RingBufferSize without alloc feature by @eloc3147 in #120
- remove deprecated methods for 1.0 by @jdonszelmann in #95
- Add a size parameter for
ConstGenericRingBuffer::newby @tertsdiepraam in #110 AllocRingBuffer: separate size from capacity and remove power of 2 types by @tertsdiepraam in #114- Index with usizes by @jdonszelmann in #125
- add compile tests by @jdonszelmann in #126
New Contributors
- @tertsdiepraam made their first contribution in #108
- @eloc3147 made their first contribution in #120
Full Changelog: 0.13.0...0.15.0
-
0.14.228 Jul 2023Nothing published for this version
-
0.14.118 Jun 2023 withdrawnNothing published for this version
-
0.14.008 Jun 2023Nothing published for this version
-
0.13.004 Apr 2023Release notes
Open source →Ringbuffer now no longer requires power of two capacity (though performance is decreased in this case).
-
0.12.019 Jan 2023 -
0.11.112 Dec 2022Release notes
Open source →- added iter_mut
- clarified msrv to be
1.59and added CI to check this - Improved test coverage
-
0.11.012 Dec 2022Nothing published for this version
-
0.10.026 Oct 2022 -
0.9.016 Oct 2022 -
0.8.526 Aug 2022Nothing published for this version
-
0.8.407 Apr 2022Nothing published for this version
-
0.8.321 Oct 2021 withdrawnNothing published for this version
-
0.8.213 Sep 2021Nothing published for this version
-
0.8.113 Sep 2021Nothing published for this version
-
0.8.012 Sep 2021Nothing published for this version
-
0.7.118 Apr 2021 withdrawn -
0.7.018 Apr 2021 withdrawnNothing published for this version
-
0.6.013 Apr 2021 withdrawnNothing published for this version
-
0.5.129 Mar 2021 withdrawnNothing published for this version
-
0.5.028 Mar 2021 withdrawnNothing published for this version
-
0.4.018 Nov 2020 withdrawnNothing published for this version
-
0.3.004 Oct 2020 withdrawnNothing published for this version
-
0.2.303 Oct 2020Nothing published for this version
-
0.2.215 Dec 2019Nothing published for this version
-
0.2.115 Dec 2019Nothing published for this version
-
0.2.015 Dec 2019Nothing published for this version
-
0.1.125 Jun 2019Nothing published for this version
-
0.1.025 Jun 2019 withdrawnNothing published for this version