From 1c1dfaa6918b479c42c63ce8d62ffe8927a551dc Mon Sep 17 00:00:00 2001 From: Malloc Voidstar <1284317+AlyoshaVasilieva@users.noreply.github.com> Date: Fri, 17 Dec 2021 00:32:00 -0800 Subject: [PATCH] Bump rustls to 0.20.1; add src to rustls error (#438) --- Cargo.toml | 2 +- src/stream.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9b8d308..27c8d6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ cookie = { version = "0.15", default-features = false, optional = true} once_cell = "1" url = "2" socks = { version = "0.3", optional = true } -rustls = { version = "0.20", optional = true } +rustls = { version = "0.20.1", optional = true } webpki = { version = "0.22", optional = true } webpki-roots = { version = "0.22", optional = true } rustls-native-certs = { version = "0.6", optional = true } diff --git a/src/stream.rs b/src/stream.rs index 0e5f29f..043a984 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -368,10 +368,9 @@ pub(crate) fn connect_https(unit: &Unit, hostname: &str) -> Result