[package] name = "hyper-util-blutgang" version = "0.2.0" description = "hyper utilities" readme = "README.md" homepage = "https://hyper.rs" documentation = "https://docs.rs/hyper-util" repository = "https://github.com/hyperium/hyper-util" license = "MIT" authors = ["Sean McArthur "] keywords = ["http", "hyper", "hyperium"] categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"] edition = "2018" [package.metadata.docs.rs] features = ["full"] rustdoc-args = ["--cfg", "docsrs"] [dependencies] hyper = "1.0.0" futures-channel = "0.3" futures-util = { version = "0.3.16", default-features = false } http = "1.0" http-body = "1.0.0" bytes = "1" pin-project-lite = "0.2.4" socket2 = { version = "0.5", optional = true, features = ["all"] } tracing = { version = "0.1", default-features = false, features = ["std"] } tokio = { version = "1", optional = true, features = ["net", "rt", "time"] } tower-service = "0.3" tower = { version = "0.4.1", features = ["make", "util"] } [dev-dependencies] hyper = { version = "1.0.0", features = ["full"] } bytes = "1" http-body-util = "0.1.0" tokio = { version = "1", features = ["macros", "test-util"] } tokio-test = "0.4" [target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies] pnet_datalink = "0.34.0" [features] default = [] # Shorthand to enable everything full = [ "client", "client-legacy", "server", "server-auto", "http1", "http2", "tokio", ] client = ["hyper/client"] client-legacy = ["client"] server = ["hyper/server"] server-auto = ["server", "http1", "http2"] http1 = ["hyper/http1"] http2 = ["hyper/http2"] tokio = ["dep:tokio", "dep:socket2"] # internal features used in CI __internal_happy_eyeballs_tests = [] [[example]] name = "client" required-features = ["client-legacy", "http1", "tokio"]