compio-io 0.9.0

IO traits for completion based async IO
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "compio-io"
version = "0.9.0"
authors = ["Berrysoft <Strawberry_Str@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "IO traits for completion based async IO"
readme = "README.md"
keywords = [
    "async",
    "io",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/compio-rs/compio"

[features]
allocator_api = ["compio-buf/allocator_api"]
codec-serde-json = [
    "dep:serde",
    "dep:serde_json",
    "dep:thiserror",
]
compat = ["futures-util/io"]
default = []
nightly = [
    "allocator_api",
    "read_buf",
]
read_buf = ["compio-buf/read_buf"]
sync = []

[lib]
name = "compio_io"
path = "src/lib.rs"

[[test]]
name = "compat"
path = "tests/compat.rs"
required-features = ["compat"]

[[test]]
name = "framed"
path = "tests/framed.rs"
required-features = ["codec-serde-json"]

[[test]]
name = "io"
path = "tests/io.rs"

[dependencies.compio-buf]
version = "0.8.0"
features = [
    "arrayvec",
    "bytes",
]

[dependencies.futures-util]
version = "0.3.29"
features = ["sink"]

[dependencies.paste]
version = "1.0.14"

[dependencies.serde]
version = "1.0.219"
optional = true

[dependencies.serde_json]
version = "1.0.140"
optional = true

[dependencies.synchrony]
version = "0.1.1"
features = ["bilock"]

[dependencies.thiserror]
version = "2.0.3"
optional = true

[dev-dependencies.compio-driver]
version = "0.11.1"
features = ["io-uring"]
default-features = false

[dev-dependencies.compio-macros]
version = "0.1.2"

[dev-dependencies.compio-runtime]
version = "0.11.0"

[dev-dependencies.futures-executor]
version = "0.3.30"

[dev-dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dev-dependencies.tokio]
version = "1.33.0"
features = [
    "macros",
    "rt",
]