compio-net 0.12.0

Networking IO for compio
Documentation
# 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 = "2024"
name = "compio-net"
version = "0.12.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Networking IO for compio"
readme = "README.md"
keywords = [
    "async",
    "net",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/compio-rs/compio"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-pc-windows-msvc",
    "aarch64-apple-darwin",
]

[features]
nightly = [
    "once_cell_try",
    "sanitize",
]
once_cell_try = []
sanitize = []
sync = []

[lib]
name = "compio_net"
path = "src/lib.rs"

[[test]]
name = "buffer_pool"
path = "tests/buffer_pool.rs"

[[test]]
name = "incoming"
path = "tests/incoming.rs"

[[test]]
name = "poll"
path = "tests/poll.rs"

[[test]]
name = "split"
path = "tests/split.rs"

[[test]]
name = "tcp_accept"
path = "tests/tcp_accept.rs"

[[test]]
name = "tcp_connect"
path = "tests/tcp_connect.rs"

[[test]]
name = "tcp_disconnect"
path = "tests/tcp_disconnect.rs"

[[test]]
name = "udp"
path = "tests/udp.rs"

[[test]]
name = "unix_stream"
path = "tests/unix_stream.rs"

[[test]]
name = "zero_copy"
path = "tests/zero_copy.rs"

[dependencies.compio-buf]
version = "0.8.2"

[dependencies.compio-driver]
version = "0.12.0"
default-features = false

[dependencies.compio-io]
version = "0.10.0"
features = ["ancillary"]

[dependencies.compio-runtime]
version = "0.12.0"

[dependencies.either]
version = "1.9.0"

[dependencies.futures-util]
version = "0.3.29"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.pin-project-lite]
version = "0.2.16"

[dependencies.socket2]
version = "0.6.0"

[dependencies.synchrony]
version = "0.1.8"

[dev-dependencies.compio-macros]
version = "0.2.0"

[dev-dependencies.tempfile]
version = "3.8.1"

[target."cfg(unix)".dependencies.libc]
version = "0.2.175"

[target."cfg(windows)".dependencies.synchrony]
version = "0.1.8"
features = ["async_flag"]

[target."cfg(windows)".dependencies.widestring]
version = "1.0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.0"
features = [
    "Win32_Foundation",
    "Win32_Networking_WinSock",
    "Win32_System_IO",
]