# 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.71"
name = "tokio-rustls"
version = "0.26.4"
build = false
exclude = [
    "/.github",
    "/examples",
    "/scripts",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Asynchronous TLS/SSL streams for Tokio using Rustls."
homepage = "https://github.com/rustls/tokio-rustls"
documentation = "https://docs.rs/tokio-rustls"
readme = "README.md"
categories = [
    "asynchronous",
    "cryptography",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rustls/tokio-rustls"

[features]
aws-lc-rs = ["aws_lc_rs"]
aws_lc_rs = ["rustls/aws_lc_rs"]
brotli = ["rustls/brotli"]
default = [
    "logging",
    "tls12",
    "aws_lc_rs",
]
early-data = []
fips = ["rustls/fips"]
logging = ["rustls/logging"]
ring = ["rustls/ring"]
tls12 = ["rustls/tls12"]
zlib = ["rustls/zlib"]

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

[[test]]
name = "badssl"
path = "tests/badssl.rs"

[[test]]
name = "certs"
path = "tests/certs/main.rs"

[[test]]
name = "early-data"
path = "tests/early-data.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[[test]]
name = "utils"
path = "tests/utils.rs"

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

[dependencies.tokio]
version = "1.0"

[dev-dependencies.argh]
version = "0.1.1"

[dev-dependencies.futures-util]
version = "0.3.1"

[dev-dependencies.lazy_static]
version = "1.1"

[dev-dependencies.rcgen]
version = "0.14"
features = ["pem"]

[dev-dependencies.tokio]
version = "1.0"
features = ["full"]

[dev-dependencies.webpki-roots]
version = "1"
