[build-dependencies.cfg_aliases]
version = "0.2.1"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.compio-buf]
version = "0.5.1"
[dependencies.compio-log]
version = "0.1.0"
[dependencies.crossbeam-channel]
version = "0.5.8"
[dependencies.futures-util]
version = "0.3.29"
[dependencies.socket2]
version = "0.5.6"
[features]
default = ["io-uring"]
io-uring-cqe32 = []
io-uring-socket = []
io-uring-sqe128 = []
iocp-global = []
iocp-wait-packet = []
nightly = ["once_cell_try"]
once_cell_try = []
polling = ["dep:polling"]
[lib]
name = "compio_driver"
path = "src/lib.rs"
[package]
authors = ["Berrysoft <Strawberry_Str@hotmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["asynchronous"]
description = "Low-level driver for compio"
edition = "2021"
keywords = ["async", "iocp", "io-uring"]
license = "MIT"
name = "compio-driver"
readme = "README.md"
repository = "https://github.com/compio-rs/compio"
version = "0.7.0"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-pc-windows-gnu", "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "aarch64-apple-ios", "aarch64-linux-android", "x86_64-unknown-dragonfly", "x86_64-unknown-freebsd", "x86_64-unknown-illumos", "x86_64-unknown-netbsd", "x86_64-unknown-openbsd"]
[target.'cfg(all(not(target_os = "linux"), unix))'.dependencies.polling]
version = "3.3.0"
[target.'cfg(target_os = "linux")'.dependencies.io-uring]
optional = true
version = "0.7.0"
[target.'cfg(target_os = "linux")'.dependencies.paste]
version = "1.0.14"
[target.'cfg(target_os = "linux")'.dependencies.polling]
optional = true
version = "3.3.0"
[target."cfg(unix)".dependencies.crossbeam-channel]
version = "0.5.8"
[target."cfg(unix)".dependencies.crossbeam-queue]
version = "0.3.8"
[target."cfg(unix)".dependencies.libc]
version = "0.2.164"
[target."cfg(windows)".dependencies.aligned-array]
version = "1.0.1"
[target."cfg(windows)".dependencies.once_cell]
version = "1.18.0"
[target."cfg(windows)".dependencies.windows-sys]
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"]
version = "0.52.0"
[[test]]
name = "file"
path = "tests/file.rs"