[package]
edition = "2024"
name = "compio-driver"
version = "0.12.0"
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",
]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"aarch64-apple-darwin",
]
[features]
default = ["io-uring"]
io-uring = [
"rustix/mm",
"rustix/event",
"rustix/system",
"linux-raw-sys/io_uring",
"dep:io-uring",
"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"]
proc_macro_diagnostic = ["dep:compile_warning"]
sync = []
[lib]
name = "compio_driver"
path = "src/lib.rs"
[[test]]
name = "asyncify"
path = "tests/asyncify.rs"
[[test]]
name = "buffer_pool"
path = "tests/buffer_pool.rs"
[[test]]
name = "op"
path = "tests/op.rs"
[[test]]
name = "personality"
path = "tests/personality.rs"
[[test]]
name = "send_zc"
path = "tests/send_zc.rs"
[[test]]
name = "splice"
path = "tests/splice.rs"
[dependencies.bitflags]
version = "2.11.0"
[dependencies.compio-buf]
version = "0.8.2"
[dependencies.compio-log]
version = "0.2.0"
[dependencies.compio-send-wrapper]
version = "0.7.1"
[dependencies.flume]
version = "0.12.0"
default-features = false
[dependencies.futures-util]
version = "0.3.29"
[dependencies.mod_use]
version = "0.2.3"
[dependencies.paste]
version = "0.2.1"
package = "pastey"
[dependencies.rustix]
version = "1.1.4"
features = ["net"]
[dependencies.socket2]
version = "0.6.0"
features = ["all"]
[dependencies.synchrony]
version = "0.1.8"
features = ["waker_slot"]
[dependencies.thin-cell]
version = "0.2.1"
features = ["weak"]
[dev-dependencies.nix]
version = "0.31.1"
features = ["mman"]
[build-dependencies.cfg_aliases]
version = "0.2.1"
[target.'cfg(all(unix, not(target_os = "linux")))'.dependencies.polling]
version = "3.3.0"
[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.12"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.linux-raw-sys]
version = "0.12.1"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.once_cell]
version = "1.18.0"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.polling]
version = "3.3.0"
optional = true
[target.'cfg(target_os = "linux")'.dependencies.rustix]
version = "1.1.4"
features = ["linux_5_11"]
[target."cfg(unix)".dependencies.crossbeam-queue]
version = "0.3.8"
[target."cfg(unix)".dependencies.libc]
version = "0.2.175"
[target."cfg(unix)".dependencies.rustix]
version = "1.1.4"
features = [
"fs",
"pipe",
]
[target."cfg(unix)".dependencies.smallvec]
version = "1.13.2"
features = ["union"]
[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",
]