/ringbuf

Thread-safe bounded channel based on ring buffer

Primary LanguageRustApache License 2.0Apache-2.0

RingBuf

Build Status codecov

Thread safe bounded channels based on ring buffer.

This crate provides channels that can be used to communicate between asynchronous tasks.

Channels are based on fixed-sized ring buffer. Send operations simply fail if backing buffer is full, and you can get back message with error.

License

This repository is dual-licensed under the MIT license and Apache license 2.0 at your option. By contributing to RingBuf you agree that your contributions will be licensed under these two licenses.