[[bench]]
harness = false
name = "async_wom"
path = "benches/async_wom.rs"
[[bench]]
harness = false
name = "async_worl"
path = "benches/async_worl.rs"
[[bench]]
harness = false
name = "std_mutex"
path = "benches/std_mutex.rs"
[[bench]]
harness = false
name = "std_rwlock"
path = "benches/std_rwlock.rs"
[[bench]]
harness = false
name = "thread_wom"
path = "benches/thread_wom.rs"
[[bench]]
harness = false
name = "thread_worl"
path = "benches/thread_worl.rs"
[dependencies.ringbuffer]
version = "0.15.0"
[dependencies.tokio]
features = ["sync", "time"]
optional = true
version = "1.44.0"
[dev-dependencies.criterion]
version = "0.5.1"
[features]
tokio = ["dep:tokio"]
[lib]
name = "alopt"
path = "src/lib.rs"
[package]
authors = ["Maxine Alexander <Max.Alexander3721@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "asynchronous", "data-structures"]
description = "a Rust crate providing efficient synchronization primitives that integrate Option into their design."
edition = "2024"
keywords = ["synchronization", "concurrency", "async", "multithreading", "lock"]
license = "MIT"
name = "alopt"
readme = "README.md"
repository = "https://github.com/nucleus-labs/alopt"
version = "1.0.0"
[[test]]
name = "sync"
path = "tests/sync.rs"
[[test]]
name = "threaded"
path = "tests/threaded.rs"