From a60e0c41c280714b8559c2f8bc28592045bfdd45 Mon Sep 17 00:00:00 2001 From: Warren Snipes Date: Mon, 22 Jul 2024 19:06:08 +0000 Subject: [PATCH] add new rustls dependencies --- Cargo.lock | 1 + amqprs/Cargo.toml | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 344d695..d596aa9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -68,6 +68,7 @@ dependencies = [ "bytes", "rustls-pemfile", "rustls-pki-types", + "rustls-webpki", "serde", "serde_bytes_ng", "tokio", diff --git a/amqprs/Cargo.toml b/amqprs/Cargo.toml index 2d7c728..bde355a 100644 --- a/amqprs/Cargo.toml +++ b/amqprs/Cargo.toml @@ -23,7 +23,13 @@ all-features = true default = [] compliance_assert = [] traces = ["tracing"] -tls = ["tokio-rustls", "rustls-pemfile", "webpki-roots", "rustls-pki-types"] +tls = [ + "tokio-rustls", + "rustls-pemfile", + "webpki-roots", + "rustls-pki-types", + "rustls-webpki", +] urispec = ["uriparse"] [dependencies] @@ -47,8 +53,9 @@ serde_bytes_ng = { workspace = true } # SSL/TLS dependencies tokio-rustls = { version = "0.26", optional = true } rustls-pemfile = { version = "1", optional = true } +rustls-webpki = { version = "0.102.5", optional = true } webpki-roots = { version = "0.22", optional = true } -rustls-pki-types = {version = "1.7.0", optional = true} +rustls-pki-types = { version = "1.7.0", optional = true } [dev-dependencies] tracing = { version = "0.1" }