[package] name = "mutringbuf" version = "0.4.0" edition = "2021" readme = "README.md" authors = ["Skilfingr "] description = "A simple lock-free SPSC ring buffer, with in-place mutability." repository = "https://github.com/Skilvingr/rust-mutringbuf" license = "MIT OR Apache-2.0" keywords = ["lock-free", "async", "ring", "circular", "buffer"] categories = ["asynchronous", "concurrency", "data-structures", "no-std", "no-std::no-alloc"] documentation = "https://docs.rs/mutringbuf" [features] default = ["alloc"] alloc = [] async = [] [dependencies] crossbeam-utils = { version = "0.8.20", default-features = false } [dev-dependencies] tokio-test = { version = "0.4.4" } iai-callgrind = "0.11.1" [target.'cfg(bench)'.dev-dependencies] criterion = { version = "0.5.1", features = ["real_blackbox"] } [target.'cfg(cpal)'.dev-dependencies] cpal = { version = "0.15.3" } [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)', 'cfg(cpal)'] } [[bench]] name = "bench_main" path = "benches/criterion/bench_main.rs" harness = false [[bench]] name = "bench_slices" path = "benches/criterion/bench_slices.rs" harness = false [[bench]] name = "iai_bench_base" path = "benches/iai_benches/iai_base.rs" harness = false