smallring 0.2.2

High-performance ring buffer with automatic stack/heap optimization | 高性能环形缓冲区,支持栈/堆自动优化
Documentation
[[bench]]
harness = false
name = "spsc_benchmark"
path = "benches/spsc_benchmark.rs"

[dependencies.loom]
features = ["futures"]
optional = true
version = "0.7.2"

[dev-dependencies.criterion]
features = ["async_tokio"]
version = "0.7.0"

[dev-dependencies.rtrb]
version = "0.3.2"

[features]
default = []
loom = ["dep:loom"]

[lib]
name = "smallring"
path = "src/lib.rs"

[package]
authors = ["ShaoG <shaog.rs@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "data-structures"]
description = "High-performance ring buffer with automatic stack/heap optimization | 高性能环形缓冲区,支持栈/堆自动优化"
documentation = "https://docs.rs/smallring"
edition = "2024"
homepage = "https://github.com/ShaoG-R/smallring"
keywords = ["spsc", "ringbuffer", "lockfree", "queue", "concurrent"]
license = "MIT OR Apache-2.0"
name = "smallring"
readme = "README.md"
repository = "https://github.com/ShaoG-R/smallring"
rust-version = "1.87"
version = "0.2.2"

[[test]]
name = "loom_atomic"
path = "tests/loom_atomic.rs"

[[test]]
name = "loom_generic"
path = "tests/loom_generic.rs"

[[test]]
name = "loom_spsc"
path = "tests/loom_spsc.rs"