-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
52 lines (46 loc) · 1.23 KB
/
Cargo.toml
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
[package]
name = "swap-buffer-queue"
version = "0.2.1"
edition = "2021"
exclude = [".*"]
description = "A buffering MPSC queue."
homepage = "https://github.com/wyfo/swap-buffer-queue"
readme = "README.md"
keywords = [
"atomic",
"lock-free",
"no-std",
"mpsc",
"async",
]
categories = [
"concurrency",
"data-structures",
"no-std",
]
license = "MIT"
repository = "https://github.com/wyfo/swap-buffer-queue"
[features]
default = ["std"]
alloc = []
std = ["alloc"]
stream = ["std", "dep:futures-core", "dep:futures-util"]
write = []
[dependencies]
crossbeam-utils = { version = "0.8", default-features = false }
futures-core = { version = "0.3", default-features = false, optional = true }
futures-util = { version = "0.3", default-features = false, optional = true }
[dev-dependencies]
tokio-test = "0.4"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "test-util", "time"] }
[target.'cfg(loom)'.dev-dependencies]
loom = { version = "0.7", features = ["futures"] }
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
# see https://users.rust-lang.org/t/how-to-document-optional-features-in-api-docs/64577/3
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]