[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["native-tokio", "http1"]
[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["tokio-runtime"]
[dependencies.http]
version = "0.2"
[dependencies.hyper]
default-features = false
features = ["client"]
version = "0.14"
[dependencies.log]
optional = true
version = "0.4.4"
[dependencies.rustls]
default-features = false
version = "0.20.1"
[dependencies.rustls-native-certs]
optional = true
version = "0.6"
[dependencies.tokio]
version = "1.0"
[dependencies.tokio-rustls]
default-features = false
version = "0.23"
[dependencies.webpki-roots]
optional = true
version = "0.22"
[dev-dependencies.futures-util]
default-features = false
version = "0.3.1"
[dev-dependencies.hyper]
features = ["full"]
version = "0.14"
[dev-dependencies.rustls]
default-features = false
features = ["tls12"]
version = "0.20.1"
[dev-dependencies.rustls-pemfile]
version = "1.0.0"
[dev-dependencies.tokio]
features = ["io-std", "macros", "net", "rt-multi-thread"]
version = "1.0"
[features]
default = ["native-tokio", "http1", "tls12", "logging"]
http1 = ["hyper/http1"]
http2 = ["hyper/http2"]
logging = ["log", "tokio-rustls/logging", "rustls/logging"]
native-tokio = ["tokio-runtime", "rustls-native-certs"]
tls12 = ["tokio-rustls/tls12", "rustls/tls12"]
tokio-runtime = ["hyper/runtime"]
webpki-tokio = ["tokio-runtime", "webpki-roots"]
[package]
description = "Rustls+hyper integration for pure rust HTTPS"
edition = "2018"
homepage = "https://github.com/ctz/hyper-rustls"
license = "Apache-2.0/ISC/MIT"
name = "hyper-rustls"
readme = "README.md"
repository = "https://github.com/ctz/hyper-rustls"
version = "0.23.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]