hyper-util 0.1.7

hyper utilities
Documentation
[dependencies.bytes]
version = "1"

[dependencies.futures-channel]
optional = true
version = "0.3"

[dependencies.futures-util]
default-features = false
version = "0.3.16"

[dependencies.http]
version = "1.0"

[dependencies.http-body]
version = "1.0.0"

[dependencies.hyper]
version = "1.4.0"

[dependencies.pin-project-lite]
version = "0.2.4"

[dependencies.socket2]
features = ["all"]
optional = true
version = "0.5"

[dependencies.tokio]
default-features = false
optional = true
version = "1"

[dependencies.tower]
default-features = false
features = ["make", "util"]
optional = true
version = "0.4.1"

[dependencies.tower-service]
optional = true
version = "0.3"

[dependencies.tracing]
default-features = false
features = ["std"]
optional = true
version = "0.1"

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.http-body-util]
version = "0.1.0"

[dev-dependencies.hyper]
features = ["full"]
version = "1.4.0"

[dev-dependencies.pretty_env_logger]
version = "0.5"

[dev-dependencies.tokio]
features = ["macros", "test-util", "signal"]
version = "1"

[dev-dependencies.tokio-test]
version = "0.4"

[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["client-legacy", "http1", "tokio"]

[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["server", "http1", "tokio"]

[[example]]
name = "server_graceful"
path = "examples/server_graceful.rs"
required-features = ["tokio", "server-graceful", "server-auto"]

[features]
__internal_happy_eyeballs_tests = []
client = ["hyper/client", "dep:tracing", "dep:futures-channel", "dep:tower", "dep:tower-service"]
client-legacy = ["client", "dep:socket2", "tokio/sync"]
default = []
full = ["client", "client-legacy", "server", "server-auto", "server-graceful", "service", "http1", "http2", "tokio"]
http1 = ["hyper/http1"]
http2 = ["hyper/http2"]
server = ["hyper/server"]
server-auto = ["server", "http1", "http2"]
server-graceful = ["server", "tokio/sync"]
service = ["dep:tower", "dep:tower-service"]
tokio = ["dep:tokio", "tokio/net", "tokio/rt", "tokio/time"]

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

[package]
authors = ["Sean McArthur <sean@seanmonstar.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"]
description = "hyper utilities"
documentation = "https://docs.rs/hyper-util"
edition = "2021"
homepage = "https://hyper.rs"
keywords = ["http", "hyper", "hyperium"]
license = "MIT"
name = "hyper-util"
readme = "README.md"
repository = "https://github.com/hyperium/hyper-util"
rust-version = "1.63"
version = "0.1.7"

[package.metadata.docs.rs]
features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies.pnet_datalink]
version = "0.35.0"

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