-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
38 lines (33 loc) · 1.09 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
[package]
authors = ["Stjepan Glavina <[email protected]>", "John Nunley <[email protected]>"]
description = "Async pipes, channels, mutexes, and more."
edition = "2018"
license = "MIT OR Apache-2.0"
name = "piper"
repository = "https://github.com/smol-rs/piper"
version = "0.2.4"
rust-version = "1.36"
[features]
default = ["std"]
std = ["fastrand/std", "futures-io"]
portable-atomic = ["atomic-waker/portable-atomic", "portable_atomic_crate", "portable-atomic-util"]
[dependencies]
atomic-waker = "1.1.0"
fastrand = { version = "2.0.0", default-features = false }
futures-io = { version = "0.3.28", optional = true }
portable-atomic-util = { version = "0.2.0", features = ["alloc"], optional = true }
[dependencies.portable_atomic_crate]
package = "portable-atomic"
version = "1.2.0"
default-features = false
optional = true
[dev-dependencies]
async-channel = "2.0.0"
async-executor = "1.5.1"
async-io = "2.0.0"
criterion = { version = "0.4.0", default-features = false, features = ["cargo_bench_support"] }
easy-parallel = "3.2.0"
futures-lite = "2.0.0"
[[bench]]
name = "pipe_comparison"
harness = false