#byte-buffer #ring-buffer #buffer #channel #pipe #fifo-queue #async-io

sluice

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

11 releases

0.5.5 Aug 15, 2021
0.5.4 Jan 30, 2021
0.5.3 Nov 12, 2020
0.5.2 Feb 26, 2020
0.4.1 Jul 23, 2019

#168 in Concurrency

Download history 31122/week @ 2023-12-17 19468/week @ 2023-12-24 31008/week @ 2023-12-31 35976/week @ 2024-01-07 35600/week @ 2024-01-14 38143/week @ 2024-01-21 34004/week @ 2024-01-28 33377/week @ 2024-02-04 32758/week @ 2024-02-11 34338/week @ 2024-02-18 35411/week @ 2024-02-25 29952/week @ 2024-03-03 29232/week @ 2024-03-10 30412/week @ 2024-03-17 31912/week @ 2024-03-24 32049/week @ 2024-03-31

125,647 downloads per month
Used in 309 crates (12 directly)

MIT license

15KB
211 lines

Sluice

Asynchronous byte buffers and pipes for concurrent I/O programming.

Crates.io Documentation License

Documentation

Check the documentation for up-to-date usage and examples.

License

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


lib.rs:

Asynchronous byte buffers and pipes for concurrent I/O programming.

Pipes

The primary feature offered by Sluice are pipes, which are asynchronous in-memory byte buffers that allow separate tasks to read and write from the buffer in parallel.

See the pipe module for details.

Dependencies

~380KB