hyper-reverse-proxy/Cargo.toml

46 lines
1.5 KiB
TOML
Raw Normal View History

2017-07-15 06:23:12 +00:00
[package]
name = "hyper-reverse-proxy"
2022-03-12 17:04:16 +00:00
version = "0.5.2-dev"
2020-05-03 10:39:49 +00:00
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>", "Felipe Noronha <felipenoris@gmail.com>", "Jan Kantert <jan-hyper-reverse-proxy@kantert.net>"]
2017-07-15 06:23:12 +00:00
license = "Apache-2.0"
description = "A simple reverse proxy, to be used with Hyper and Tokio."
2018-11-24 15:27:20 +00:00
homepage = "https://github.com/felipenoris/hyper-reverse-proxy"
2017-07-15 06:23:12 +00:00
documentation = "https://docs.rs/hyper-reverse-proxy"
2018-11-24 15:27:20 +00:00
repository = "https://github.com/felipenoris/hyper-reverse-proxy"
2017-07-15 06:23:12 +00:00
keywords = ["http", "hyper"]
categories = ["network-programming", "web-programming"]
readme = "README.md"
edition = "2018"
2017-07-15 06:23:12 +00:00
include = [
"Cargo.toml",
"LICENSE",
"src/**/*"
]
[dependencies]
2022-04-13 14:53:37 +00:00
hyper = { version = "0.14.18", features = ["full"] }
hyper-trust-dns = { version = "0.4.2", optional = true, default-features = false, features = ["rustls-webpki", "rustls-http1"] }
lazy_static = "1.4.0"
2022-04-13 02:29:52 +00:00
rand = "0.8.5"
2020-05-03 10:39:49 +00:00
[dev-dependencies]
2022-04-13 14:53:37 +00:00
tokio = { version = "1.17.0", features = ["full"] }
futures = "0.3.21"
async-trait = "0.1.53"
tokio-test = "0.4.2"
test-context = "0.1.3"
2022-04-13 14:53:37 +00:00
tokiotest-httpserver = "0.2.1"
[features]
2022-04-13 02:29:52 +00:00
default = ["https"]
2022-04-13 14:53:37 +00:00
https = ["hyper-trust-dns", "dnssec", "hyper-trust-dns/rustls-webpki", "http2"]
doh = ["hyper-trust-dns/dns-over-https-rustls"]
dot = ["hyper-trust-dns/dns-over-rustls"]
dnssec = ["hyper-trust-dns/dnssec-ring"]
http2 = ["hyper/http2", "hyper-trust-dns/rustls-http2"]
https-only = ["hyper-trust-dns/https-only"]
tls-1-2 = ["hyper-trust-dns/rustls-tls-12"]
native-cert-store = ["hyper-trust-dns/rustls-native"]