[dependencies.async-std]
features = ["io_safety"]
optional = true
version = "1.13.0"
[dependencies.io-extras]
version = "0.18.0"
[dependencies.io-lifetimes]
default-features = false
version = "2.0.0"
[dependencies.tokio]
optional = true
version = "1.8.1"
[dev-dependencies.anyhow]
version = "1.0.38"
[features]
default = []
use_async_std = ["async-std", "io-extras/async-std"]
use_tokio = ["tokio", "io-extras/tokio"]
[lib]
name = "socketpair"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(bench)", "cfg(read_initializer)", "cfg(can_vector)", "cfg(clamp)", "cfg(extend_one)", "cfg(pattern)", "cfg(seek_stream_len)", "cfg(shrink_to)", "cfg(toowned_clone_into)", "cfg(try_reserve)", "cfg(unix_socket_peek)", "cfg(windows_by_handle)", "cfg(write_all_vectored)", "cfg(windows_file_type_ext)"]
level = "warn"
priority = 0
[package]
authors = ["Dan Gohman <dev@sunfishcode.online>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["rust-patterns"]
description = "Cross-platform socketpair functionality"
edition = "2021"
exclude = ["/.github"]
keywords = ["io"]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "socketpair"
readme = "README.md"
repository = "https://github.com/sunfishcode/socketpair"
version = "0.19.8"
[target."cfg(not(windows))".dependencies.rustix]
features = ["net"]
version = "1.0.0"
[target."cfg(windows)".dependencies.uuid]
features = ["v4"]
version = "1.0.0"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Networking_WinSock", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Pipes"]
version = "0.59.0"
[[test]]
name = "seqpacket"
path = "tests/seqpacket.rs"
[[test]]
name = "test"
path = "tests/test.rs"