#buffer #pipe #channel

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

#40 in Concurrency

Download history 15608/week @ 2021-07-01 13484/week @ 2021-07-08 13981/week @ 2021-07-15 14160/week @ 2021-07-22 16928/week @ 2021-07-29 12862/week @ 2021-08-05 15126/week @ 2021-08-12 15934/week @ 2021-08-19 14417/week @ 2021-08-26 12027/week @ 2021-09-02 13988/week @ 2021-09-09 13546/week @ 2021-09-16 11855/week @ 2021-09-23 12860/week @ 2021-09-30 14284/week @ 2021-10-07 14685/week @ 2021-10-14

63,114 downloads per month
Used in 123 crates (5 directly)

MIT license

14KB
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

~165KB