[[bench]]
harness = false
name = "benchmarks"
path = "benches/benchmarks.rs"
required-features = ["ring"]
[build-dependencies.rustversion]
optional = true
version = "1.0.6"
[dependencies.aws-lc-rs]
default-features = false
features = ["aws-lc-sys", "prebuilt-nasm"]
optional = true
version = "1.9"
[dependencies.brotli]
default-features = false
features = ["std"]
optional = true
version = "7"
[dependencies.brotli-decompressor]
optional = true
version = "4.0.1"
[dependencies.hashbrown]
default-features = false
features = ["default-hasher", "inline-more"]
optional = true
version = "0.15"
[dependencies.log]
optional = true
version = "0.4.8"
[dependencies.once_cell]
default-features = false
features = ["alloc", "race"]
version = "1.16"
[dependencies.pki-types]
features = ["alloc"]
package = "rustls-pki-types"
version = "1.10"
[dependencies.ring]
optional = true
version = "0.17"
[dependencies.subtle]
default-features = false
version = "2.5.0"
[dependencies.webpki]
default-features = false
features = ["alloc"]
package = "rustls-webpki"
version = "0.102.8"
[dependencies.zeroize]
version = "1.7"
[dependencies.zlib-rs]
optional = true
version = "0.4"
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.bencher]
version = "0.1.5"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.log]
version = "0.4.8"
[dev-dependencies.num-bigint]
version = "0.4.4"
[dev-dependencies.rcgen]
default-features = false
features = ["pem", "aws_lc_rs"]
version = "0.13"
[dev-dependencies.serde]
features = ["derive"]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.time]
default-features = false
version = "0.3.6"
[dev-dependencies.webpki-roots]
version = "0.26"
[[example]]
name = "test_ca"
path = "examples/internal/test_ca.rs"
[features]
aws-lc-rs = ["aws_lc_rs"]
aws_lc_rs = ["dep:aws-lc-rs", "webpki/aws_lc_rs"]
brotli = ["dep:brotli", "dep:brotli-decompressor", "std"]
custom-provider = []
default = ["aws_lc_rs", "logging", "std", "tls12"]
fips = ["aws_lc_rs", "aws-lc-rs?/fips"]
logging = ["log"]
read_buf = ["rustversion", "std"]
ring = ["dep:ring", "webpki/ring"]
std = ["webpki/std", "pki-types/std", "once_cell/std"]
tls12 = []
zlib = ["dep:zlib-rs"]
[lib]
name = "rustls"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["network-programming", "cryptography"]
description = "Rustls is a modern TLS library written in Rust."
edition = "2021"
exclude = ["src/testdata", "tests/**"]
homepage = "https://github.com/rustls/rustls"
license = "Apache-2.0 OR ISC OR MIT"
name = "rustls"
readme = "README.md"
repository = "https://github.com/rustls/rustls"
rust-version = "1.71"
version = "0.23.18"
[package.metadata.cargo_check_external_types]
allowed_external_types = ["rustls_pki_types", "rustls_pki_types::*"]
[package.metadata.docs.rs]
features = ["read_buf", "ring"]
rustdoc-args = ["--cfg", "docsrs"]