[package]
name = "compio-io"
version = "0.4.1"
description = "IO traits for completion based async IO"
categories = ["asynchronous"]
keywords = ["async", "io"]
edition = { workspace = true }
authors = { workspace = true }
readme = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
[dependencies]
compio-buf = { workspace = true, features = ["arrayvec"] }
futures-util = { workspace = true }
paste = { workspace = true }
pin-project-lite = { version = "0.2.14", optional = true }
[dev-dependencies]
compio-runtime = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt"] }
[features]
default = []
compat = ["futures-util/io", "dep:pin-project-lite"]
allocator_api = ["compio-buf/allocator_api"]
read_buf = ["compio-buf/read_buf"]
nightly = ["allocator_api", "read_buf"]