46 lines
1.5 KiB
TOML
46 lines
1.5 KiB
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.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"
|
|
rand = "0.8.5"
|
|
|
|
[dev-dependencies]
|
|
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"
|
|
tokiotest-httpserver = "0.2.1"
|
|
|
|
[features]
|
|
default = ["https"]
|
|
|
|
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"]
|