[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["native-tokio", "http1"]
[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["tokio-runtime", "acceptor"]
[dependencies.futures-util]
default-features = false
version = "0.3"
[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.21.6"
[dependencies.rustls-native-certs]
optional = true
version = "0.6"
[dependencies.tokio]
version = "1.0"
[dependencies.tokio-rustls]
default-features = false
version = "0.24.0"
[dependencies.webpki-roots]
optional = true
version = "0.25"
[dev-dependencies.hyper]
features = ["full"]
version = "0.14"
[dev-dependencies.rustls]
default-features = false
features = ["tls12"]
version = "0.21.0"
[dev-dependencies.rustls-pemfile]
version = "1.0.0"
[dev-dependencies.tokio]
features = ["io-std", "macros", "net", "rt-multi-thread"]
version = "1.0"
[features]
acceptor = ["hyper/server", "tokio-runtime"]
default = ["native-tokio", "http1", "tls12", "logging", "acceptor"]
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"
documentation = "https://docs.rs/hyper-rustls/"
edition = "2021"
homepage = "https://github.com/rustls/hyper-rustls"
license = "Apache-2.0 OR ISC OR MIT"
name = "hyper-rustls"
readme = "README.md"
repository = "https://github.com/rustls/hyper-rustls"
rust-version = "1.63"
version = "0.24.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]