[[bench]]
harness = false
name = "lock_benchmark"
path = "benches/lock_benchmark.rs"
[dependencies.antidote]
version = "1.0.0"
[dependencies.smr-swap]
version = "0.8.0"
[dev-dependencies.arc-swap]
version = "1.7.1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.7"
[features]
loom = ["smr-swap/loom"]
[lib]
name = "lfrlock"
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 = "A Lock-Free Read Lock where reads never block and writes are serialized using Mutex"
documentation = "https://docs.rs/lfrlock"
edition = "2024"
homepage = "https://github.com/ShaoG-R/lfrlock"
keywords = ["concurrency", "lock-free", "reader-writer", "mutex"]
license = "MIT OR Apache-2.0"
name = "lfrlock"
readme = "README.md"
repository = "https://github.com/ShaoG-R/lfrlock"
version = "0.2.0"
[[test]]
name = "advanced"
path = "tests/advanced.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"