| Crates.io | ya-ring-buf |
| lib.rs | ya-ring-buf |
| version | 0.1.0 |
| created_at | 2022-04-26 19:43:09.905084+00 |
| updated_at | 2022-04-26 19:43:09.905084+00 |
| description | Yet Another Ring Buffer. SPSC channel with direct access for bytes/Copy. |
| homepage | https://gitlab.com/colonelthirtytwo/ya-ring-buf |
| repository | https://gitlab.com/colonelthirtytwo/ya-ring-buf |
| max_upload_size | |
| id | 575695 |
| size | 83,314 |
SPSC channel backed by a ring buffer.
The channel is optimized for sending and receiving bytes - it has several features allowing to produce and consume items in bulk. This makes it suitable for implementing an intra-process pipe stream. However it may be used with other types as well.
Features include:
view functions for safely accessing the buffer directly, ex. for doing IO directly from
or to the buffer.no_std compatible (currently requires alloc)Does not support:
Mutex though.