compio-io 0.5.0

IO traits for completion based async IO
Documentation
[package]
name = "compio-io"
version = "0.5.0"
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 }
# use tokio & futures to show this crate doesn't depend on the compio runtime
tokio = { workspace = true, features = ["macros", "rt"] }
futures-executor = "0.3.30"

[features]
default = []
compat = ["futures-util/io", "dep:pin-project-lite"]

# Nightly features
allocator_api = ["compio-buf/allocator_api"]
read_buf = ["compio-buf/read_buf"]
nightly = ["allocator_api", "read_buf"]