| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.60" |
| 15 |
name = "crossbeam-utils" |
| 16 |
version = "0.8.21" |
| 17 |
build = "build.rs" |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "Utilities for concurrent programming" |
| 24 |
homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"scoped", |
| 28 |
"thread", |
| 29 |
"atomic", |
| 30 |
"cache", |
| 31 |
] |
| 32 |
categories = [ |
| 33 |
"algorithms", |
| 34 |
"concurrency", |
| 35 |
"data-structures", |
| 36 |
"no-std", |
| 37 |
] |
| 38 |
license = "MIT OR Apache-2.0" |
| 39 |
repository = "https://github.com/crossbeam-rs/crossbeam" |
| 40 |
|
| 41 |
[lib] |
| 42 |
name = "crossbeam_utils" |
| 43 |
path = "src/lib.rs" |
| 44 |
|
| 45 |
[[test]] |
| 46 |
name = "atomic_cell" |
| 47 |
path = "tests/atomic_cell.rs" |
| 48 |
|
| 49 |
[[test]] |
| 50 |
name = "cache_padded" |
| 51 |
path = "tests/cache_padded.rs" |
| 52 |
|
| 53 |
[[test]] |
| 54 |
name = "parker" |
| 55 |
path = "tests/parker.rs" |
| 56 |
|
| 57 |
[[test]] |
| 58 |
name = "sharded_lock" |
| 59 |
path = "tests/sharded_lock.rs" |
| 60 |
|
| 61 |
[[test]] |
| 62 |
name = "thread" |
| 63 |
path = "tests/thread.rs" |
| 64 |
|
| 65 |
[[test]] |
| 66 |
name = "wait_group" |
| 67 |
path = "tests/wait_group.rs" |
| 68 |
|
| 69 |
[[bench]] |
| 70 |
name = "atomic_cell" |
| 71 |
path = "benches/atomic_cell.rs" |
| 72 |
|
| 73 |
[dependencies] |
| 74 |
|
| 75 |
[dev-dependencies.rand] |
| 76 |
version = "0.8" |
| 77 |
|
| 78 |
[features] |
| 79 |
default = ["std"] |
| 80 |
nightly = [] |
| 81 |
std = [] |
| 82 |
|
| 83 |
[target."cfg(crossbeam_loom)".dependencies.loom] |
| 84 |
version = "0.7.1" |
| 85 |
optional = true |
| 86 |
|
| 87 |
[lints.clippy.declare_interior_mutable_const] |
| 88 |
level = "allow" |
| 89 |
priority = 1 |
| 90 |
|
| 91 |
[lints.clippy.lint_groups_priority] |
| 92 |
level = "allow" |
| 93 |
priority = 1 |
| 94 |
|
| 95 |
[lints.rust.unexpected_cfgs] |
| 96 |
level = "warn" |
| 97 |
priority = 0 |
| 98 |
check-cfg = [ |
| 99 |
"cfg(crossbeam_loom)", |
| 100 |
"cfg(crossbeam_sanitize)", |
| 101 |
] |