[package]
edition = "2021"
rust-version = "1.60"
name = "crossbeam-utils"
version = "0.8.22"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities for concurrent programming"
homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils"
readme = "README.md"
keywords = [
"scoped",
"thread",
"atomic",
"cache",
]
categories = [
"algorithms",
"concurrency",
"data-structures",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crossbeam-rs/crossbeam"
[features]
default = ["std"]
nightly = []
std = []
[lib]
name = "crossbeam_utils"
path = "src/lib.rs"
[[test]]
name = "atomic_cell"
path = "tests/atomic_cell.rs"
[[test]]
name = "cache_padded"
path = "tests/cache_padded.rs"
[[test]]
name = "parker"
path = "tests/parker.rs"
[[test]]
name = "sharded_lock"
path = "tests/sharded_lock.rs"
[[test]]
name = "thread"
path = "tests/thread.rs"
[[test]]
name = "wait_group"
path = "tests/wait_group.rs"
[[bench]]
name = "atomic_cell"
path = "benches/atomic_cell.rs"
[dependencies]
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.rustversion]
version = "1"
[target."cfg(crossbeam_loom)".dependencies.loom]
version = "0.7.1"
optional = true
[lints.clippy.declare_interior_mutable_const]
level = "allow"
priority = 1
[lints.clippy.lint_groups_priority]
level = "allow"
priority = 1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(crossbeam_loom)",
"cfg(crossbeam_sanitize)",
]