diff --git a/Cargo.lock b/Cargo.lock index ea42ba0a..472c11b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -598,7 +598,6 @@ dependencies = [ "security-framework", "security-framework-sys", "tokio", - "webpki", "webpki-roots", "winapi", ] diff --git a/Cargo.toml b/Cargo.toml index 8456d8f5..da1812d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,7 +51,7 @@ webpki = { package = "rustls-webpki", version = "0.100.0", features = ["alloc", [target.'cfg(target_os = "android")'.dependencies] jni = { version = "0.19", default-features = false } -webpki = "0.22" +webpki = { package = "rustls-webpki", version = "0.100.0", features = ["alloc", "std"] } once_cell = "1.9" android_logger = { version = "0.11", optional = true } # Only used during testing.