[dependencies.futures]
version = "0.3.30"
[dependencies.futures-rustls]
default-features = false
version = "0.26.0"
[dependencies.libp2p-core]
version = "0.41.3"
[dependencies.libp2p-identity]
version = "0.2.9"
[dependencies.rcgen]
version = "0.11.3"
[dependencies.ring]
version = "0.17.8"
[dependencies.rustls]
default-features = false
features = ["ring", "std"]
version = "0.23.9"
[dependencies.thiserror]
version = "1.0.61"
[dependencies.webpki]
features = ["std"]
package = "rustls-webpki"
version = "0.101.4"
[dependencies.x509-parser]
version = "0.16.0"
[dependencies.yasna]
version = "0.5.2"
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.hex-literal]
version = "0.4.1"
[dev-dependencies.libp2p-core]
version = "0.41.3"
[dev-dependencies.libp2p-identity]
features = ["ed25519", "rsa", "secp256k1", "ecdsa", "rand"]
version = "0.2.9"
[dev-dependencies.libp2p-swarm]
features = ["tokio"]
version = "0.44.2"
[dev-dependencies.libp2p-yamux]
version = "0.45.1"
[dev-dependencies.tokio]
default-features = false
features = ["full"]
version = "1.38"
[lints.clippy]
dbg_macro = "warn"
manual_let_else = "warn"
type_complexity = "allow"
unnecessary_wraps = "warn"
used_underscore_binding = "warn"
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.rust]
unreachable_pub = "warn"
[package]
description = "TLS configuration based on libp2p TLS specs."
edition = "2021"
exclude = ["src/test_assets"]
license = "MIT"
name = "libp2p-tls"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.75.0"
version = "0.4.1"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]