#ring-buffer #channel #mpmc #lock-free #fifo

no-std ring-channel

Bounded MPMC channel abstraction on top of a ring buffer

19 releases (11 breaking)

0.12.0 Oct 10, 2023
0.11.0 Mar 6, 2022
0.10.1 Jan 3, 2022
0.10.0 Dec 15, 2021
0.5.0 Jul 2, 2019

#137 in Concurrency

Download history 3837/week @ 2023-11-20 3063/week @ 2023-11-27 2846/week @ 2023-12-04 1889/week @ 2023-12-11 4045/week @ 2023-12-18 903/week @ 2023-12-25 2766/week @ 2024-01-01 2518/week @ 2024-01-08 3851/week @ 2024-01-15 3780/week @ 2024-01-22 2429/week @ 2024-01-29 2133/week @ 2024-02-05 3403/week @ 2024-02-12 2461/week @ 2024-02-19 3495/week @ 2024-02-26 2202/week @ 2024-03-04

11,573 downloads per month
Used in 4 crates (3 directly)

MIT license

63KB
1.5K SLoC

RingChannel docs.badge codecov.badge

Bounded MPMC channel abstraction on top of a ring buffer.

Using RingChannel

RingChannel is available on crates.io, simply add it as a dependency in your Cargo.toml:

[dependencies]
ring-channel = "0.12"

The full API documentation is available on docs.rs

Contribution

RingChannel is an open source project and you're very welcome to contribute to this project by opening issues and/or pull requests, see CONTRIBUTING for general guidelines.

License

RingChannel is distributed under the terms of the MIT license, see LICENSE for details.

Dependencies

~1.3–1.9MB
~41K SLoC