oneringbuf 0.7.0

A lock-free single-producer, single-consumer (SPSC) ring buffer with in-place mutability, asynchronous support, and virtual memory optimisation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

run() {
    $1 --no-default-features &&
    $1 --no-default-features --features async &&

    $1 &&
    $1 --features async
}

./miri_test &&
./sanitisers &&
cargo +nightly test --features vmem --features async --test tests &&
run "cargo bench --no-run" &&
RUSTFLAGS="--cfg cpal" cargo build --example cpal