[package]
edition = "2021"
name = "vibeio-http"
version = "0.2.1"
authors = ["Dorian Niemiec <dorian@ferron.sh>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance HTTP server primitives for the `vibeio` runtime"
documentation = "https://docs.rs/vibeio-http"
readme = "README.md"
keywords = [
"async",
"http",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT"
repository = "https://github.com/ferronweb/vibeio-http"
[features]
default = [
"h1",
"h1-zerocopy",
"h2",
]
h1 = [
"httparse",
"httpdate",
"memchr",
"tokio-util",
]
h1-zerocopy = [
"h1",
"vibeio/splice",
]
h2 = [
"dep:h2",
"httpdate",
"tokio-util",
]
h3 = [
"dep:h3",
"httpdate",
"tokio-util",
]
[lib]
name = "vibeio_http"
path = "src/lib.rs"
[dependencies.bytes]
version = "1.11.1"
[dependencies.futures-util]
version = "0.3.32"
[dependencies.h2]
version = "0.4"
optional = true
[dependencies.h3]
version = "0.0.8"
optional = true
[dependencies.http]
version = "1.4.0"
[dependencies.http-body]
version = "1.0.1"
[dependencies.http-body-util]
version = "0.1.3"
[dependencies.httparse]
version = "1.10.1"
optional = true
[dependencies.httpdate]
version = "1.0.3"
optional = true
[dependencies.kanal]
version = "0.1.1"
[dependencies.memchr]
version = "2.8.0"
optional = true
[dependencies.oneshot]
version = "0.2.1"
features = [
"async",
"std",
]
[dependencies.send_wrapper]
version = "0.6.0"
[dependencies.tokio]
version = "1.50.0"
[dependencies.tokio-util]
version = "0.7.18"
optional = true
[dependencies.vibeio]
version = "0.2.3"
features = ["time"]
default-features = false
[dev-dependencies.tokio]
version = "1.50.0"
features = [
"test-util",
"full",
]