Description: avoid mac-only crates
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-01-30
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/rustls-platform-verifier/Cargo.toml
+++ b/rustls-platform-verifier/Cargo.toml
@@ -26,7 +26,7 @@
 base64 = { version = "0.22", optional = true } # Only used when the `cert-logging` feature is enabled.
 once_cell = "1.9"
 
-[target.'cfg(all(unix, not(target_vendor = "apple"), not(target_arch = "wasm32")))'.dependencies]
+[target.'cfg(all(unix, not(target_arch = "wasm32")))'.dependencies]
 rustls-native-certs = "0.8"
 webpki = { package = "rustls-webpki", version = "0.103", default-features = false }
 
@@ -34,12 +34,6 @@
 webpki = { package = "rustls-webpki", version = "0.103", default-features = false }
 webpki-root-certs = "0.26"
 
-[target.'cfg(any(target_vendor = "apple"))'.dependencies]
-core-foundation = "0.10"
-core-foundation-sys = "0.8"
-security-framework = { version = "3", features = ["OSX_10_14"] }
-security-framework-sys = { version = "2.10", features = ["OSX_10_14"] }
-
 [target.'cfg(windows)'.dependencies]
 windows-sys = { version = ">=0.52.0, <0.60.0", default-features = false, features = ["Win32_Foundation", "Win32_Security_Cryptography"] }
 
