# 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" rust-version = "1.70.0" name = "hyper-proxy2" version = "0.1.0" authors = ["Natsuki Ikeguchi "] description = "A proxy connector for Hyper-based applications" documentation = "https://docs.rs/hyper-proxy2" readme = "README.md" keywords = [ "hyper", "proxy", "tokio", "ssl", ] categories = [ "web-programming::http-client", "asynchronous", "authentication", ] license = "MIT" repository = "https://github.com/siketyan/hyper-proxy2" [dependencies.bytes] version = "1.5" [dependencies.futures-util] version = "0.3.30" default-features = false [dependencies.headers] version = "0.4" [dependencies.http] version = "1.0" [dependencies.hyper] version = "1.0" features = ["client"] [dependencies.hyper-rustls] version = "0.26.0" optional = true [dependencies.hyper-tls] version = "0.6.0" optional = true [dependencies.hyper-util] version = "0.1.2" features = [ "client", "client-legacy", "tokio", ] [dependencies.native-tls] version = "0.2.11" optional = true [dependencies.openssl] version = "0.10.62" optional = true [dependencies.pin-project-lite] version = "0.2.13" [dependencies.rustls-native-certs] version = "0.7.0" optional = true [dependencies.tokio] version = "1.35" features = [ "io-std", "io-util", ] [dependencies.tokio-native-tls] version = "0.3.1" optional = true [dependencies.tokio-openssl] version = "0.6.4" optional = true [dependencies.tokio-rustls] version = "0.25.0" optional = true [dependencies.tower-service] version = "0.3.2" [dependencies.webpki] version = "0.22" optional = true [dependencies.webpki-roots] version = "0.26.0" optional = true [dev-dependencies.futures] version = "0.3.30" [dev-dependencies.http-body-util] version = "0.1.0" [dev-dependencies.hyper] version = "1.0" features = [ "client", "http1", ] [dev-dependencies.hyper-util] version = "0.1.2" features = [ "client", "client-legacy", "http1", "tokio", ] [dev-dependencies.tokio] version = "1.35" 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", ]