-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathCargo.toml
55 lines (47 loc) · 1.66 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
53
54
55
[workspace]
members = [
".",
"bench"
]
[package]
name = "thingbuf"
version = "0.1.6"
edition = "2021"
rust-version = "1.57.0"
authors = ["Eliza Weisman <[email protected]>"]
license = "MIT"
repository = "https://github.com/hawkw/thingbuf"
homepage = "https://github.com/hawkw/thingbuf"
description = """
I'm at the buffer pool. I'm at the MPSC channel. I'm at the combination MPSC channel and buffer pool.
"""
keywords = ["lock-free", "queue", "channel", "mpsc", "pool"]
categories = ["asynchronous", "concurrency", "data-structures", "no-std"]
exclude = ["/.github", "/.cargo", "/bin", "/bench", "/assets"]
[features]
std = ["alloc", "parking_lot"]
alloc = []
default = ["std"]
static = []
[dependencies]
pin-project = "1"
parking_lot = { version = "0.12", optional = true, default-features = false }
[dev-dependencies]
tokio = { version = "1.14.0", features = ["rt", "rt-multi-thread", "macros", "sync"] }
# So that we can use `poll_fn` in tests.
futures-util = { version = "0.3", default-features = false }
[target.'cfg(loom)'.dev-dependencies]
loom = { version = "0.5.6", features = ["checkpoint", "futures"] }
tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "fmt"] }
tracing = { version = "0.1", default-features = false, features = ["std"] }
# Custom profile for Loom tests: enable release optimizations so that the loom
# tests are less slow, but don't disable debug assertions.
[profile.loom]
inherits = "test"
lto = true
opt-level = 3
[patch.crates-io]
loom = { git = "https://github.com/tokio-rs/loom", rev = "a93bf2390e0fcfdb7c5899b31db0e4e795ab4aab" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]