[[bench]]
harness = false
name = "base"
path = "benches/divan/base.rs"
required-features = ["alloc"]
[[bench]]
harness = false
name = "iai_base"
path = "benches/iai_benches/iai_base.rs"
required-features = ["alloc"]
[[bench]]
harness = false
name = "parts"
path = "benches/divan/parts.rs"
required-features = ["alloc"]
[[bench]]
harness = false
name = "slices"
path = "benches/divan/slices.rs"
required-features = ["alloc"]
[[bench]]
harness = false
name = "stack"
path = "benches/divan/stack.rs"
[dependencies.crossbeam-utils]
default-features = false
version = "0.8"
[dependencies.futures-util]
default-features = false
optional = true
version = "0.3"
[dependencies.libc]
default-features = false
optional = true
version = "0.2"
[dev-dependencies.async-scoped]
features = ["use-tokio"]
version = "0.9"
[dev-dependencies.divan]
version = "0.1.21"
[dev-dependencies.gungraun]
version = "0.17.0"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.tokio]
features = ["rt", "rt-multi-thread", "macros", "time"]
version = "1.47.1"
[[example]]
name = "cpal"
path = "examples/cpal.rs"
[[example]]
name = "main_example"
path = "examples/main_example.rs"
[[example]]
name = "manage_traits"
path = "examples/manage_traits.rs"
required-features = ["alloc", "async"]
[[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 = ["dep:futures-util"]
default = ["alloc"]
thread_sanitiser = []
vmem = ["alloc", "dep:libc"]
[lib]
name = "oneringbuf"
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/oneringbuf"
edition = "2024"
keywords = ["lock-free", "async", "mmap", "circular", "buffer"]
license = "MIT OR Apache-2.0"
name = "oneringbuf"
readme = "README.md"
repository = "https://github.com/Skilvingr/rust-oneringbuf"
version = "0.7.0"
[package.metadata.docs.rs]
all-features = true
[profile.dev]
debug = 2
opt-level = 0
[target."cfg(cpal)".dev-dependencies.cpal]
version = "0.16.0"
[[test]]
name = "tests"
path = "tests/tests.rs"