# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" rust-version = "1.36" name = "piper" version = "0.2.4" authors = [ "Stjepan Glavina ", "John Nunley ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Async pipes, channels, mutexes, and more." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/smol-rs/piper" [lib] name = "piper" path = "src/lib.rs" [[test]] name = "pipe" path = "tests/pipe.rs" [[bench]] name = "pipe_comparison" path = "benches/pipe_comparison.rs" harness = false [dependencies.atomic-waker] version = "1.1.0" [dependencies.fastrand] version = "2.0.0" default-features = false [dependencies.futures-io] version = "0.3.28" optional = true [dependencies.portable-atomic-util] version = "0.2.0" features = ["alloc"] optional = true [dependencies.portable_atomic_crate] version = "1.2.0" optional = true default-features = false package = "portable-atomic" [dev-dependencies.async-channel] version = "2.0.0" [dev-dependencies.async-executor] version = "1.5.1" [dev-dependencies.async-io] version = "2.0.0" [dev-dependencies.criterion] version = "0.4.0" features = ["cargo_bench_support"] default-features = false [dev-dependencies.easy-parallel] version = "3.2.0" [dev-dependencies.futures-lite] version = "2.0.0" [features] default = ["std"] portable-atomic = [ "atomic-waker/portable-atomic", "portable_atomic_crate", "portable-atomic-util", ] std = [ "fastrand/std", "futures-io", ]