[[bench]]
harness = false
name = "base"
path = "benches/divan/base.rs"
[[bench]]
harness = false
name = "iai_base"
path = "benches/iai_benches/iai_base.rs"
[[bench]]
harness = false
name = "parts"
path = "benches/divan/parts.rs"
[[bench]]
harness = false
name = "slices"
path = "benches/divan/slices.rs"
[dependencies.crossbeam-utils]
default-features = false
version = "0.8.21"
[dependencies.libc]
optional = true
version = "0.2"
[dev-dependencies.divan]
version = "0.1.21"
[dev-dependencies.iai-callgrind]
version = "0.14.0"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.tokio-test]
version = "0.4.4"
[[example]]
name = "cpal"
path = "examples/cpal.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "simple_async"
path = "examples/simple_async.rs"
[[example]]
name = "uninit_items"
path = "examples/uninit_items.rs"
[features]
alloc = []
async = []
default = ["alloc"]
vmem = ["alloc", "dep:libc"]
[lib]
name = "mutringbuf"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(cpal)"]
level = "warn"
priority = 0
[package]
authors = ["Skilfingr <skilvingr@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "concurrency", "data-structures", "no-std", "no-std::no-alloc"]
description = "A lock-free single-producer, single-consumer (SPSC) ring buffer with in-place mutability, asynchronous support, and virtual memory optimisation."
documentation = "https://docs.rs/mutringbuf"
edition = "2021"
keywords = ["lock-free", "async", "mmap", "circular", "buffer"]
license = "MIT OR Apache-2.0"
name = "mutringbuf"
readme = "README.md"
repository = "https://github.com/Skilvingr/rust-mutringbuf"
version = "0.5.2"
[target."cfg(cpal)".dev-dependencies.cpal]
version = "0.15.3"
[[test]]
name = "tests"
path = "tests/tests.rs"