| # 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 are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2021" |
| rust-version = "1.57" |
| name = "hyper-rustls" |
| version = "0.24.0" |
| 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", |
| "http1", |
| ] |
| |
| [[example]] |
| name = "server" |
| path = "examples/server.rs" |
| required-features = ["tokio-runtime"] |
| |
| [dependencies.http] |
| version = "0.2" |
| |
| [dependencies.hyper] |
| version = "0.14" |
| features = ["client"] |
| default-features = false |
| |
| [dependencies.log] |
| version = "0.4.4" |
| optional = true |
| |
| [dependencies.rustls] |
| version = "0.21.0" |
| default-features = false |
| |
| [dependencies.rustls-native-certs] |
| version = "0.6" |
| optional = true |
| |
| [dependencies.tokio] |
| version = "1.0" |
| |
| [dependencies.tokio-rustls] |
| version = "0.24.0" |
| default-features = false |
| |
| [dependencies.webpki-roots] |
| version = "0.23" |
| optional = true |
| |
| [dev-dependencies.futures-util] |
| version = "0.3.1" |
| default-features = false |
| |
| [dev-dependencies.hyper] |
| version = "0.14" |
| features = ["full"] |
| |
| [dev-dependencies.rustls] |
| version = "0.21.0" |
| features = ["tls12"] |
| default-features = false |
| |
| [dev-dependencies.rustls-pemfile] |
| version = "1.0.0" |
| |
| [dev-dependencies.tokio] |
| version = "1.0" |
| features = [ |
| "io-std", |
| "macros", |
| "net", |
| "rt-multi-thread", |
| ] |
| |
| [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", |
| ] |