#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

#132 in Concurrency

Download history 35931/week @ 2023-12-04 34472/week @ 2023-12-11 30790/week @ 2023-12-18 19262/week @ 2023-12-25 31398/week @ 2024-01-01 35930/week @ 2024-01-08 35454/week @ 2024-01-15 38340/week @ 2024-01-22 33773/week @ 2024-01-29 33518/week @ 2024-02-05 33253/week @ 2024-02-12 34075/week @ 2024-02-19 35169/week @ 2024-02-26 30058/week @ 2024-03-04 29134/week @ 2024-03-11 30490/week @ 2024-03-18

127,239 downloads per month
Used in 308 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

~375KB