[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["native-tokio", "http1"]
[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["ring"]
[dependencies.futures-util]
default-features = false
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.hyper]
default-features = false
version = "1"
[dependencies.hyper-util]
default-features = false
features = ["client-legacy", "tokio"]
version = "0.1"
[dependencies.log]
optional = true
version = "0.4.4"
[dependencies.pki-types]
package = "rustls-pki-types"
version = "1"
[dependencies.rustls]
default-features = false
version = "0.22"
[dependencies.rustls-native-certs]
optional = true
version = "0.7"
[dependencies.tokio]
version = "1.0"
[dependencies.tokio-rustls]
default-features = false
version = "0.25"
[dependencies.tower-service]
version = "0.3"
[dependencies.webpki-roots]
optional = true
version = "0.26"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper-util]
default-features = false
features = ["server-auto"]
version = "0.1"
[dev-dependencies.rustls]
default-features = false
features = ["tls12"]
version = "0.22"
[dev-dependencies.rustls-pemfile]
version = "2"
[dev-dependencies.tokio]
features = ["io-std", "macros", "net", "rt-multi-thread"]
version = "1.0"
[features]
default = ["native-tokio", "http1", "tls12", "logging", "ring"]
http1 = ["hyper-util/http1"]
http2 = ["hyper-util/http2"]
logging = ["log", "tokio-rustls/logging", "rustls/logging"]
native-tokio = ["rustls-native-certs"]
ring = ["rustls/ring"]
tls12 = ["tokio-rustls/tls12", "rustls/tls12"]
webpki-tokio = ["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.26.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]