10 releases

Uses old Rust 2015

0.4.1 Aug 23, 2022
0.4.0 Jan 30, 2022
0.3.2 Apr 27, 2018
0.3.1 Nov 26, 2017
0.1.2 Mar 25, 2016

#165 in Audio

Download history 1505/week @ 2024-07-29 2256/week @ 2024-08-05 1403/week @ 2024-08-12 1269/week @ 2024-08-19 1179/week @ 2024-08-26 1129/week @ 2024-09-02 1228/week @ 2024-09-09 2611/week @ 2024-09-16 4337/week @ 2024-09-23 3871/week @ 2024-09-30 4248/week @ 2024-10-07 5751/week @ 2024-10-14 5235/week @ 2024-10-21 7161/week @ 2024-10-28 8386/week @ 2024-11-04 6458/week @ 2024-11-11

27,775 downloads per month
Used in 21 crates (12 directly)

MIT/Apache

26KB
522 lines

rb

Build Status Build Status (appveyor) license rustdoc dependency status

A thread-safe fixed size circular (ring) buffer written in safe Rust.

Features

  • thread-safe
  • blocking and non-blocking IO
  • no unsafe blocks
  • never under- or overflows

Examples

cargo run --example saw

Benchmark

The benchmarking feature needs rust nightly.

rustup run nightly -- cargo bench

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps