#fifo-queue #buffer #queue #byte-buffer #ring-buffer #fifo


Efficient ring buffer for byte buffers, FIFO queues, and SPSC channels

6 releases

Uses old Rust 2015

0.3.0 Aug 10, 2018
0.2.2 Aug 3, 2018
0.2.0 May 17, 2018
0.1.1 Feb 24, 2018

#1160 in Concurrency

MIT license

748 lines


Efficient ring buffer implementations for byte buffers, FIFO queues, and SPSC channels.

Build Status Crates.io Documentation License



Add this to your Cargo.toml file:

ringtail = "0.2"


This library is licensed under the MIT license. See the LICENSE file for details.


Ringtail is a collection of buffers and queues, useful for networking, thread communication, and real-time programming.

Provided data structures are designed for efficiency first and foremost, so some common operations you might expect of queues may be missing in order to allow certain optimizations. These are not general-purpose structures; several versions of one structure may be provided with different trade-offs.


In Ringtail, a buffer is a queue optimized for reading and writing multiple elements in bulk, like an in-memory version of an I/O stream.

No runtime deps