[package]
name = "ipipe"
version = "0.8.0"
license = "MIT OR Apache-2.0"
readme = "README.md"
authors = ["Griffin O'Neill <gsoneill1003@gmail.com>"]
edition = "2018"
description = """
Cross-platform named-pipe API.
"""
keywords = ["pipe", "ipc", "fifo"]
homepage = "https://github.com/Eolu/ipipe"
repository = "https://github.com/Eolu/ipipe"
categories = ["filesystem", "os::unix-apis", "os::windows-apis", "api-bindings"]
documentation = "https://docs.rs/ipipe"

[features]
default = ["static_pipe", "rand"]
static_pipe = ["lazy_static", "flurry"]
channels = []

[dependencies]
rand = { version = "0.5", optional = true }
lazy_static = { version = "1.4", optional = true }
flurry = { version = "0.3.1", optional = true }

[target.'cfg(unix)'.dependencies]
nix = "0.19"

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winerror", "winbase", "handleapi", "fileapi", "namedpipeapi"]}
