[package]
edition = "2024"
name = "compio-compat"
version = "0.1.0-rc.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compatibility layer for compio to work with various async runtimes."
readme = "README.md"
keywords = [
"async",
"fs",
"iocp",
"io-uring",
"net",
]
categories = [
"asynchronous",
"filesystem",
"network-programming",
]
license = "MIT"
repository = "https://github.com/compio-rs/compio"
[features]
futures = [
"dep:async-io",
"dep:futures-util",
]
tokio = ["dep:tokio"]
[lib]
name = "compio_compat"
path = "src/lib.rs"
[[test]]
name = "fs"
path = "tests/fs.rs"
[[test]]
name = "net"
path = "tests/net.rs"
required-features = ["tokio"]
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.compio-log]
version = "0.1.0"
[dependencies.compio-runtime]
version = "0.12.0-rc.2"
[dependencies.mod_use]
version = "0.2.3"
[dev-dependencies.compio-fs]
version = "0.12.0-rc.2"
[dev-dependencies.compio-io]
version = "0.10.0-rc.2"
[dev-dependencies.compio-net]
version = "0.12.0-rc.2"
[dev-dependencies.futures-executor]
version = "0.3.30"
[dev-dependencies.futures-util]
version = "0.3.29"
[dev-dependencies.tokio]
version = "1.33.0"
features = [
"rt",
"macros",
"fs",
"net",
"io-util",
]
[target.'cfg(target_os = "linux")'.dependencies.rustix]
version = "1.1.4"
features = [
"event",
"io_uring",
]
[target."cfg(unix)".dependencies.async-io]
version = "2.6.0"
optional = true
[target."cfg(unix)".dependencies.futures-util]
version = "0.3.29"
optional = true
[target."cfg(unix)".dependencies.tokio]
version = "1.33.0"
features = [
"net",
"time",
]
optional = true
[target."cfg(windows)".dependencies.compio-driver]
version = "0.12.0-rc.2"
default-features = false
[target."cfg(windows)".dependencies.futures-channel]
version = "0.3.29"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.0"
features = ["Win32_System_Threading"]
[target."cfg(windows)".dependencies.windows-threading]
version = "0.2.1"