hyper-rustls 0.27.10

Rustls+hyper integration for pure rust HTTPS
Documentation
# 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.85"
name = "hyper-rustls"
version = "0.27.10"
build = false
include = [
    "Cargo.toml",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "LICENSE-ISC",
    "README.md",
    "src/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rustls+hyper integration for pure rust HTTPS"
homepage = "https://github.com/rustls/hyper-rustls"
documentation = "https://docs.rs/hyper-rustls/"
readme = "README.md"
license = "Apache-2.0 OR ISC OR MIT"
repository = "https://github.com/rustls/hyper-rustls"

[package.metadata.docs.rs]
no-default-features = true
features = [
    "http1",
    "http2",
    "logging",
    "native-tokio",
    "ring",
    "rustls-platform-verifier",
    "tls12",
    "webpki-tokio",
]
rustdoc-args = [
    "--cfg",
    "hyper_rustls_docsrs",
]

[features]
aws-lc-rs = ["rustls/aws_lc_rs"]
default = [
    "native-tokio",
    "http1",
    "tls12",
    "logging",
    "aws-lc-rs",
]
fips = [
    "aws-lc-rs",
    "rustls/fips",
]
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"]

[lib]
name = "hyper_rustls"
path = "src/lib.rs"

[dependencies.http]
version = "1"

[dependencies.hyper]
version = "1"
default-features = false

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "tokio",
]
default-features = false

[dependencies.log]
version = "0.4.4"
optional = true

[dependencies.rustls]
version = "0.23"
default-features = false

[dependencies.rustls-native-certs]
version = "0.8"
optional = true

[dependencies.rustls-platform-verifier]
version = "0.7"
optional = true

[dependencies.tokio]
version = "1.0"

[dependencies.tokio-rustls]
version = "0.26"
default-features = false

[dependencies.tower-service]
version = "0.3"

[dependencies.webpki-roots]
version = "1"
optional = true

[dev-dependencies.cfg-if]
version = "1"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper-util]
version = "0.1"
features = ["server-auto"]
default-features = false

[dev-dependencies.rustls]
version = "0.23"
features = ["tls12"]
default-features = false

[dev-dependencies.tokio]
version = "1.0"
features = [
    "io-std",
    "macros",
    "net",
    "rt-multi-thread",
]

[lints.clippy]
cloned_instead_of_copied = "warn"
manual_let_else = "warn"
needless_collect = "warn"
needless_pass_by_ref_mut = "warn"
or_fun_call = "warn"
redundant_clone = "warn"
upper_case_acronyms = "warn"
use_self = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(hyper_rustls_docsrs)"]