[dependencies.loom]
optional = true
version = "0.7"
[dependencies.spin]
optional = true
version = "0.10"
[dependencies.swmr-barrier]
optional = true
version = "0.1.4"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.7"
[dev-dependencies.crossbeam-epoch]
version = "0.9"
[features]
default = ["std"]
loom = ["dep:loom", "swmr-barrier?/loom"]
read-preferred = ["dep:swmr-barrier"]
std = []
[lib]
name = "swmr_cell"
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", "memory-management"]
description = "A thread-safe single-writer multi-reader cell with wait-free reads and version-based garbage collection"
documentation = "https://docs.rs/swmr-cell"
edition = "2024"
homepage = "https://github.com/ShaoG-R/swmr-cell"
keywords = ["swmr", "wait-free", "rcu", "concurrency", "lock-free"]
license = "MIT OR Apache-2.0"
name = "swmr-cell"
readme = "README.md"
repository = "https://github.com/ShaoG-R/swmr-cell"
version = "0.2.0"
[[test]]
name = "loom_tests"
path = "tests/loom_tests.rs"