#buffer #pipe #channel

sluice

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

8 releases

✓ Uses Rust 2018 edition

0.5.2 Feb 26, 2020
0.5.1 Dec 1, 2019
0.5.0 Nov 7, 2019
0.4.2 Sep 5, 2019
0.4.0-alpha.1 May 23, 2019

#56 in Concurrency

Download history 5110/week @ 2020-03-16 5683/week @ 2020-03-23 6302/week @ 2020-03-30 6575/week @ 2020-04-06 6746/week @ 2020-04-13 7062/week @ 2020-04-20 4877/week @ 2020-04-27 4542/week @ 2020-05-04 5160/week @ 2020-05-11 5158/week @ 2020-05-18 4816/week @ 2020-05-25 5669/week @ 2020-06-01 5993/week @ 2020-06-08 6334/week @ 2020-06-15 5482/week @ 2020-06-22 7459/week @ 2020-06-29

22,417 downloads per month
Used in 32 crates (2 directly)

MIT license

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

~1.2–1.6MB
~33K SLoC