[package]
edition = "2021"
name = "vmcircbuffer"
version = "0.0.13"
authors = ["Bastian Bloessl <mail@bastibl.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Double Mapped Circular Buffer"
homepage = "https://www.futuresdr.org"
readme = "README.md"
keywords = [
"sdr",
"dsp",
"real-time",
"async",
]
categories = [
"asynchronous",
"concurrency",
"hardware-support",
"science",
]
license = "Apache-2.0"
repository = "https://github.com/futuresdr/vmcircbuffer/"
[package.metadata.docs.rs]
all-features = true
[features]
async = [
"futures",
"generic",
]
default = []
generic = []
lockfree = []
nonblocking = ["generic"]
sync = ["generic"]
[lib]
name = "vmcircbuffer"
path = "src/lib.rs"
[[example]]
name = "sdr"
path = "examples/sdr.rs"
required-features = ["sync"]
[[example]]
name = "tags"
path = "examples/tags.rs"
required-features = ["generic"]
[[test]]
name = "async"
path = "tests/async.rs"
required-features = ["async"]
[[test]]
name = "lockfree"
path = "tests/lockfree.rs"
required-features = ["lockfree"]
[[test]]
name = "nonblocking"
path = "tests/nonblocking.rs"
required-features = ["nonblocking"]
[[test]]
name = "sync"
path = "tests/sync.rs"
required-features = ["sync"]
[[test]]
name = "tags"
path = "tests/tags.rs"
required-features = ["generic"]
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.once_cell]
version = "1.21"
[dependencies.slab]
version = "0.4"
[dependencies.spin]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.rand]
version = "0.10"
[dev-dependencies.smol]
version = "2.0"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
"sysinfoapi",
"winbase",
"handleapi",
"memoryapi",
]