# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" 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" readme = "README.md" keywords = [ "hyper", "proxy", "tokio", "ssl", ] categories = [ "web-programming::http-client", "asynchronous", "authentication", ] license = "MIT" repository = "https://github.com/wyatt-herkamp/hyper1-proxy" [[example]] name = "proxy-wget" [dependencies.bytes] version = "1.0" [dependencies.futures-util] version = "0.3" default-features = false [dependencies.headers] version = "0.4" [dependencies.http] version = "1" [dependencies.hyper] version = "1" features = ["client"] [dependencies.hyper-rustls] version = "0.27" optional = true [dependencies.hyper-tls] version = "0.6.0" optional = true [dependencies.hyper-util] version = "0.1" features = ["tokio"] [dependencies.native-tls] version = "0.2" optional = true [dependencies.openssl] version = "0.10" optional = true [dependencies.rustls-native-certs] version = "0.7.0" optional = true [dependencies.tokio] version = "1" features = [ "io-std", "io-util", ] [dependencies.tokio-native-tls] version = "0.3.0" optional = true [dependencies.tokio-openssl] version = "0.6" optional = true [dependencies.tokio-rustls] version = "0.26" optional = true [dependencies.tower-service] version = "0.3" [dependencies.webpki] version = "0.22" optional = true [dependencies.webpki-roots] version = "0.26.0" optional = true [dev-dependencies.clap] version = "4" features = ["derive"] [dev-dependencies.futures] version = "0.3" [dev-dependencies.http-body-util] version = "0.1" [dev-dependencies.hyper] version = "1" features = [ "client", "http1", ] [dev-dependencies.hyper-util] version = "0.1" features = [ "client-legacy", "client", "http2", "http1", "tokio", ] [dev-dependencies.tokio] version = "1.0" features = ["full"] [features] default = ["tls"] openssl-tls = [ "openssl", "tokio-openssl", ] rustls = [ "rustls-base", "rustls-native-certs", "hyper-rustls/native-tokio", ] rustls-base = [ "tokio-rustls", "hyper-rustls", "webpki", ] rustls-webpki = [ "rustls-base", "webpki-roots", "hyper-rustls/webpki-tokio", ] tls = [ "tokio-native-tls", "hyper-tls", "native-tls", ]