[package]
edition = "2024"
rust-version = "1.94"
name = "qubit-atomic"
version = "0.9.0"
authors = ["Haixing Hu <starfish.hu@gmail.com>"]
build = false
exclude = [
"coverage.sh",
"COVERAGE.md",
"COVERAGE.zh_CN.md",
".circleci/*",
"ci-check.sh",
".llvm-cov.toml",
".cargo-audit.toml.example",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "User-friendly atomic operations wrapper providing JDK-like atomic API"
homepage = "https://github.com/qubit-ltd/rs-atomic"
documentation = "https://docs.rs/qubit-atomic"
readme = "README.md"
keywords = [
"atomic",
"concurrent",
"lock-free",
"thread-safe",
"qubit",
]
categories = [
"concurrency",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/qubit-ltd/rs-atomic"
[lib]
name = "qubit_atomic"
path = "src/lib.rs"
[[example]]
name = "boolean_flag"
path = "examples/boolean_flag.rs"
[[example]]
name = "counter"
path = "examples/counter.rs"
[[example]]
name = "reference"
path = "examples/reference.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[bench]]
name = "atomic_bench"
path = "benches/atomic_bench.rs"
[dependencies.arc-swap]
version = "1"
[dev-dependencies.loom]
version = "0.7"
[profile.bench]
opt-level = 3
lto = true
codegen-units = 1
[profile.release]
opt-level = 3
lto = true
codegen-units = 1