| # 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 = "2018" |
| name = "hyper-rustls" |
| version = "0.23.0" |
| authors = ["Joseph Birr-Pixton <[email protected]>"] |
| 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.20.1" |
| default-features = false |
| |
| [dependencies.rustls-native-certs] |
| version = "0.6" |
| optional = true |
| |
| [dependencies.tokio] |
| version = "1.0" |
| |
| [dependencies.tokio-rustls] |
| version = "0.23" |
| default-features = false |
| |
| [dependencies.webpki-roots] |
| version = "0.22" |
| optional = true |
| [dev-dependencies.async-stream] |
| version = "0.3.0" |
| |
| [dev-dependencies.futures-util] |
| version = "0.3.1" |
| default-features = false |
| |
| [dev-dependencies.hyper] |
| version = "0.14" |
| features = ["full"] |
| |
| [dev-dependencies.rustls] |
| version = "0.20.1" |
| features = ["tls12"] |
| default-features = false |
| |
| [dev-dependencies.rustls-pemfile] |
| version = "0.2.1" |
| |
| [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"] |