-
-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (46 loc) · 1.57 KB
/
Copy pathCargo.toml
File metadata and controls
51 lines (46 loc) · 1.57 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
[package]
name = "flume"
version = "0.12.0"
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
edition = "2018"
rust-version = "1.78.0"
description = "A blazingly fast multi-producer channel"
repository = "https://github.com/zesterer/flume"
documentation = "https://docs.rs/flume"
keywords = ["mpsc", "fifo", "channel", "thread", "mpmc"]
categories = ["concurrency", "data-structures"]
license = "MIT OR Apache-2.0"
readme = "README.md"
exclude = [
"/.github",
"/misc",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
# Use a spinlock internally (may be faster on some platforms)
spin = []
select = []
async = ["futures-sink", "futures-core"]
eventual-fairness = ["select", "fastrand"]
default = ["async", "select", "eventual-fairness"]
[dependencies]
spin1 = { package = "spin", version = "0.9.8", features = ["mutex"] }
futures-sink = { version = "0.3", default-features = false, optional = true }
futures-core = { version = "0.3", default-features = false, optional = true }
fastrand = { version = "2.3", features = ["std", "js"], optional = true }
[dev-dependencies]
#flume-test = { path = "../flume-test" }
crossbeam-channel = "0.5.5"
crossbeam-utils = "0.8.10"
criterion = { version = "0.5.1", default-features = false }
rand = "0.8.3"
async-std = { version = "1.13.0", features = ["attributes", "unstable"] }
futures = { version = "^0.3", features = ["std"] }
waker-fn = "1.1.0"
tokio = { version = "^1.16.1", features = ["rt", "macros"] }
getrandom = { version = "0.2.15", features = ["js"] }
[[bench]]
name = "basic"
harness = false