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|
#21 in #fifo
201 downloads per month
Efficient ring buffer implementations for byte buffers, FIFO queues, and SPSC channels.
Add this to your Cargo.toml file:
[dependencies] 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.