1[package]
2authors = ["Stjepan Glavina <stjepang@gmail.com>", "John Nunley <dev@notgull.net>"]
3description = "Async pipes, channels, mutexes, and more."
4edition = "2018"
5license = "MIT OR Apache-2.0"
6name = "piper"
7repository = "https://github.com/notgull/piper"
8version = "0.2.1"
9rust-version = "1.36"
10
11[features]
12default = ["std"]
13std = ["fastrand/std", "futures-io"]
14portable-atomic = ["atomic-waker/portable-atomic", "portable_atomic_crate", "portable-atomic-util"]
15
16[dependencies]
17atomic-waker = "1.1.0"
18fastrand = { version = "2.0.0", default-features = false }
19futures-io = { version = "0.3.28", optional = true }
20portable-atomic-util = { version = "0.1.2", features = ["alloc"], optional = true }
21
22[dependencies.portable_atomic_crate]
23package = "portable-atomic"
24version = "1.2.0"
25default-features = false
26optional = true
27
28[dev-dependencies]
29async-channel = "1.8.0"
30async-executor = "1.5.1"
31async-io = "1.13.0"
32criterion = { version = "0.4.0", default-features = false, features = ["cargo_bench_support"] }
33easy-parallel = "3.2.0"
34futures-lite = "1.12.0"
35
36[[bench]]
37name = "pipe_comparison"
38harness = false
39