hyper-reverse-proxy/Cargo.toml
Casey Primozic 8e4efa3c10
Add support for connecting to HTTPS servers (#6)
* Add the `https` feature which condionally compiles the `hyper-tls` crate
 * Abstract HTTP(S) client building to a helper function with two versions: One which uses the `hyper-tls` `HttpsConnector` connector, and one which uses the default built-in `HttpConnector`
 * Update documentation on how to enable HTTPS support
2022-03-17 23:05:07 -03:00

33 lines
944 B
TOML

[package]
name = "hyper-reverse-proxy"
version = "0.5.2-dev"
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>", "Felipe Noronha <felipenoris@gmail.com>", "Jan Kantert <jan-hyper-reverse-proxy@kantert.net>"]
license = "Apache-2.0"
description = "A simple reverse proxy, to be used with Hyper and Tokio."
homepage = "https://github.com/felipenoris/hyper-reverse-proxy"
documentation = "https://docs.rs/hyper-reverse-proxy"
repository = "https://github.com/felipenoris/hyper-reverse-proxy"
keywords = ["http", "hyper"]
categories = ["network-programming", "web-programming"]
readme = "README.md"
edition = "2018"
include = [
"Cargo.toml",
"LICENSE",
"src/**/*"
]
[dependencies]
hyper = { version = "0.14", features = ["full"] }
lazy_static = "1.4"
unicase = "2.6"
hyper-tls = { version = "0.5", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
[features]
https = ["hyper-tls"]
default = ["https"]