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

#170 in Audio

Download history 452/week @ 2023-11-26 351/week @ 2023-12-03 448/week @ 2023-12-10 517/week @ 2023-12-17 853/week @ 2023-12-24 470/week @ 2023-12-31 681/week @ 2024-01-07 1702/week @ 2024-01-14 821/week @ 2024-01-21 1072/week @ 2024-01-28 865/week @ 2024-02-04 1377/week @ 2024-02-11 1198/week @ 2024-02-18 1160/week @ 2024-02-25 863/week @ 2024-03-03 422/week @ 2024-03-10

3,798 downloads per month
Used in 17 crates (10 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