[package]
name = "hyper-body-utils"
version = "0.1.13"
edition = "2021"
authors = ["Rogerio Araújo <rogerio.araujo@gmail.com>"]
repository = "https://github.com/ararog/hyper-body-utils"
homepage = "https://github.com/ararog/hyper-body-utils"
description = "Utilities for handling HTTP bodies with hyper"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["http", "hyper", "server", "client"]
publish = true
rust-version = "1.75.0"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["generic"]
http3 = ["dep:h3"]
generic = ["h3-quinn"]
compio = ["compio/io", "compio-quic/h3", "compio-quic/ring", "compio-quic/io-compat", "dep:send_wrapper"]
[dependencies]
async-fn-stream = "0.3.2"
bytes = "1.11.1"
compio = { version = "0.19.1", default-features = false, features = ["fs", "io"] }
compio-quic = { version = "0.8.0", optional = true, default-features = false }
futures = { version = "0.3.32", default-features = false }
h3 = { version = "0.0.8", optional = true, default-features = false }
h3-quinn = { version = "0.0.10", optional = true, default-features = false }
http = "1.4.2"
http-body-util = "0.1.3"
hyper = "1.8.1"
send_wrapper = { version = "0.6.0", optional = true, features = ["futures"] }
[dev-dependencies]
compio = { version = "0.19.1", default-features = false, features = ["macros", "runtime", "io-uring"] }
futures-util = "0.3.32"
io-uring = "0.7.13"
macro_rules_attribute = { version = "0.2.2", default-features = false }
smol = { version = "2.0.2", default-features = false }
smol-macros = { version = "0.1.1", default-features = false }
tokio = { version = "1.50.0", features = ["fs", "macros", "rt-multi-thread"], default-features = false }
tokio-util = { version = "0.7.18", features = ["io"], default-features = false }
send_wrapper = { version = "0.6.0", features = ["futures"] }