-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (54 loc) · 1.47 KB
/
Cargo.toml
File metadata and controls
60 lines (54 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "utils-atomics"
description = "Various atomic utils"
version = "1.1.2"
edition = "2021"
exclude = ["src/bin"]
repository = "https://github.com/Aandreba/atomic-utils"
keywords = ["atomic", "parallel", "thread", "async"]
categories = ["no-std", "asynchronous", "concurrency", "rust-patterns"]
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["std"]
std = [
"alloc",
"crossbeam/std",
"bytemuck/extern_crate_std",
"num-traits/std",
"once_cell/std",
"futures?/std",
]
alloc = [
"crossbeam/alloc",
"bytemuck/extern_crate_alloc",
"once_cell/alloc",
"futures?/alloc",
]
alloc_api = ["nightly", "alloc"]
futures = ["dep:futures"]
nightly = []
const = ["nightly"]
[dependencies]
cfg-if = "1"
crossbeam = { version = "0.8.2", default-features = false }
bytemuck = { version = "1.11.0", default-features = false }
num-traits = { version = "0.2.15", default-features = false }
once_cell = { version = "1.14.0", default-features = false }
futures = { version = "0.3.24", default-features = false, optional = true }
docfg = "0.1.0"
static_assertions = "1.1.0"
pin-project-lite = "0.2.9"
[dev-dependencies]
criterion = "0.4.0"
rand = "0.8.5"
tokio = { version = "1.21.0", features = ["full"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[bench]]
name = "queue_push"
harness = false
[[bench]]
name = "queue_chop"
harness = false