[package] name = "hyper1-proxy" version = "0.10.0-beta.0" authors = [ "Wyatt Herkamp ", "Johann Tuffe ", ] description = "A proxy connector for Hyper-based applications" documentation = "https://docs.rs/hyper1-proxy" repository = "https://github.com/wyatt-herkamp/hyper1-proxy" readme = "README.md" keywords = ["hyper", "proxy", "tokio", "ssl"] categories = ["web-programming::http-client", "asynchronous", "authentication"] license = "MIT" edition = "2021" [dependencies] tokio = { version = "1", features = ["io-std", "io-util"] } hyper = { version = "1", features = ["client"] } tower-service = "0.3" http = "1" futures-util = { version = "0.3", default-features = false } bytes = "1.0" hyper-tls = { version = "0.6.0", optional = true } tokio-native-tls = { version = "0.3.0", optional = true } native-tls = { version = "0.2", optional = true } openssl = { version = "0.10", optional = true } tokio-openssl = { version = "0.6", optional = true } tokio-rustls = { version = "0.26", optional = true } hyper-rustls = { version = "0.27", optional = true } webpki = { version = "0.22", optional = true } rustls-native-certs = { version = "0.7.0", optional = true } webpki-roots = { version = "0.26.0", optional = true } headers = "0.4" hyper-util = { version = "0.1", features = ["tokio"] } [dev-dependencies] tokio = { version = "1.0", features = ["full"] } hyper = { version = "1", features = ["client", "http1"] } futures = { version = "0.3" } clap = { version = "4", features = ["derive"] } hyper-util = { version = "0.1", features = [ "client-legacy", "client", "http2", "http1", "tokio", ] } http-body-util = "0.1" [features] openssl-tls = ["openssl", "tokio-openssl"] tls = ["tokio-native-tls", "hyper-tls", "native-tls"] # note that `rustls-base` is not a valid feature on its own - it will configure rustls without root # certificates! rustls-base = ["tokio-rustls", "hyper-rustls", "webpki"] rustls = ["rustls-base", "rustls-native-certs", "hyper-rustls/native-tokio"] rustls-webpki = ["rustls-base", "webpki-roots", "hyper-rustls/webpki-tokio"] default = ["tls"] [[example]] name = "proxy-wget"