compio-driver 0.11.1

Low-level driver 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-driver"
version = "0.11.1"
authors = ["Berrysoft <Strawberry_Str@hotmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level driver for compio"
readme = "README.md"
keywords = [
    "async",
    "iocp",
    "io-uring",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/compio-rs/compio"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["io-uring"]
io-uring = [
    "dep:io-uring",
    "dep:io_uring_buf_ring",
    "dep:slab",
    "dep:once_cell",
]
io-uring-cqe32 = []
io-uring-sqe128 = []
iocp-global = []
iocp-wait-packet = []
nightly = [
    "once_cell_try",
    "proc_macro_diagnostic",
]
once_cell_try = []
polling = [
    "dep:polling",
    "dep:smallvec",
]
proc_macro_diagnostic = ["dep:compile_warning"]
sync = []

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

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

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

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

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

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

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

[dependencies.compio-log]
version = "0.1.0"

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

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

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

[dependencies.smallvec]
version = "1.13.2"
features = ["union"]
optional = true

[dependencies.socket2]
version = "0.6.0"
features = ["all"]

[dependencies.synchrony]
version = "0.1.1"
features = ["waker_slot"]

[dependencies.thin-cell]
version = "0.1.1"

[dev-dependencies.nix]
version = "0.31.1"
features = ["fs"]

[build-dependencies.cfg_aliases]
version = "0.2.1"

[target.'cfg(all(not(target_os = "linux"), unix))'.dependencies.polling]
version = "3.3.0"

[target.'cfg(all(not(target_os = "linux"), unix))'.dependencies.smallvec]
version = "1.13.2"

[target.'cfg(target_os = "linux")'.dependencies.compile_warning]
version = "0.1.0"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7.0"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.io_uring_buf_ring]
version = "0.2.2"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.once_cell]
version = "1.18.0"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.paste]
version = "1.0.14"

[target.'cfg(target_os = "linux")'.dependencies.polling]
version = "3.3.0"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.slab]
version = "0.4.9"
optional = true

[target."cfg(unix)".dependencies.crossbeam-queue]
version = "0.3.8"

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

[target."cfg(windows)".dependencies.once_cell]
version = "1.18.0"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.0"
features = [
    "Win32_Foundation",
    "Win32_Networking_WinSock",
    "Win32_Security",
    "Win32_Storage_FileSystem",
    "Win32_System_Console",
    "Win32_System_IO",
    "Win32_System_Pipes",
    "Win32_System_SystemServices",
    "Win32_System_Threading",
    "Win32_System_WindowsProgramming",
]