From 3fd13256ed2f560f978f7ddc270e066350e5fc14 Mon Sep 17 00:00:00 2001 From: Constantin Nickel Date: Tue, 25 Apr 2023 20:37:09 +0200 Subject: [PATCH] Use `rustls-webpki` instead of `webpki` The `rustls-webpki` crate is a fork of `webpki` which is maintained by the rustls project. --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d33c2b3..576401d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ native-tls = ["native-tls-crate"] native-tls-vendored = ["native-tls", "native-tls-crate/vendored"] rustls-tls-native-roots = ["__rustls-tls", "rustls-native-certs"] rustls-tls-webpki-roots = ["__rustls-tls", "webpki-roots"] -__rustls-tls = ["rustls", "webpki"] +__rustls-tls = ["rustls", "rustls-webpki"] [dependencies] data-encoding = { version = "2", optional = true } @@ -52,9 +52,9 @@ version = "0.21.0" optional = true version = "0.6.0" -[dependencies.webpki] +[dependencies.rustls-webpki] optional = true -version = "0.22" +version = "0.100.1" features = ["std"] [dependencies.webpki-roots]