blob: 7f55283f6b4a01ebb70c286e974bcb60ccf91540 [file] [log] [blame]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "hyper-rustls"
version = "0.22.1"
authors = ["Joseph Birr-Pixton <jpixton@gmail.com>"]
description = "Rustls+hyper integration for pure rust HTTPS"
homepage = "https://github.com/ctz/hyper-rustls"
readme = "README.md"
license = "Apache-2.0/ISC/MIT"
repository = "https://github.com/ctz/hyper-rustls"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["native-tokio", "tokio-runtime"]
[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["tokio-runtime"]
[dependencies.ct-logs]
version = "^0.8"
optional = true
[dependencies.futures-util]
version = "0.3.1"
[dependencies.hyper]
version = "0.14"
features = ["client", "http1"]
default-features = false
[dependencies.log]
version = "0.4.4"
[dependencies.rustls]
version = "0.19"
[dependencies.rustls-native-certs]
version = "0.5.0"
optional = true
[dependencies.tokio]
version = "1.0"
[dependencies.tokio-rustls]
version = "0.22"
[dependencies.webpki]
version = "0.21.0"
[dependencies.webpki-roots]
version = "0.21"
optional = true
[dev-dependencies.async-stream]
version = "0.3.0"
[dev-dependencies.hyper]
version = "0.14"
features = ["full"]
[dev-dependencies.tokio]
version = "1.0"
features = ["io-std", "macros", "net", "rt-multi-thread"]
[features]
default = ["native-tokio"]
native-tokio = ["tokio-runtime", "rustls-native-certs"]
tokio-runtime = ["hyper/runtime", "ct-logs"]
webpki-tokio = ["tokio-runtime", "webpki-roots"]