compio-net 0.11.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.11.0"
authors = ["Berrysoft <Strawberry_Str@hotmail.com>"]
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",
]

[features]
nightly = ["once_cell_try"]
once_cell_try = []

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

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

[[test]]
name = "cmsg"
path = "tests/cmsg.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 = "udp"
path = "tests/udp.rs"

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

[dependencies.cfg-if]
version = "1.0.0"

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

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

[dependencies.compio-io]
version = "0.9.0"

[dependencies.compio-runtime]
version = "0.11.0"
features = ["event"]

[dependencies.either]
version = "1.9.0"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.socket2]
version = "0.6.0"

[dev-dependencies.aligned-array]
version = "1.0.1"

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

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

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

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

[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",
]