Skip to content

Commit

Permalink
Minimise features demanded from rustls-webpki crate
Browse files Browse the repository at this point in the history
This dependency exists so this crate can access
`webpki::Error` and `webpki::Error::RequiredEkuNotFound`,
which are unconditionally available.
  • Loading branch information
ctz committed Jun 25, 2024
1 parent 46b194b commit 9b7208d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rustls-platform-verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ once_cell = "1.9"

[target.'cfg(all(unix, not(target_os = "android"), not(target_os = "macos"), not(target_os = "ios"), not(target_os = "tvos")))'.dependencies]
rustls-native-certs = "0.7"
webpki = { package = "rustls-webpki", version = "0.102", features = ["ring", "alloc", "std"] }
webpki = { package = "rustls-webpki", version = "0.102", default-features = false }

[target.'cfg(target_os = "android")'.dependencies]
rustls-platform-verifier-android = { path = "../android-release-support", version = "0.1.0" }
jni = { version = "0.19", default-features = false }
webpki = { package = "rustls-webpki", version = "0.102", features = ["ring", "alloc", "std"] }
webpki = { package = "rustls-webpki", version = "0.102", default-features = false }
android_logger = { version = "0.13", optional = true } # Only used during testing.

[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand Down

0 comments on commit 9b7208d

Please sign in to comment.