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

#156 in Audio

Download history 1325/week @ 2024-01-18 880/week @ 2024-01-25 1087/week @ 2024-02-01 1265/week @ 2024-02-08 1190/week @ 2024-02-15 1139/week @ 2024-02-22 898/week @ 2024-02-29 744/week @ 2024-03-07 929/week @ 2024-03-14 1569/week @ 2024-03-21 831/week @ 2024-03-28 778/week @ 2024-04-04 1211/week @ 2024-04-11 936/week @ 2024-04-18 1067/week @ 2024-04-25 1104/week @ 2024-05-02

4,439 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