From c6bf2e10dbb95d16952db6501b53d43c2b8af146 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Sun, 14 Sep 2025 16:17:49 -0600 Subject: [PATCH] build: gated the openssl crate to linux and mac MUSL builds only to fix Windows --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ceeeaad..aefd9ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,9 +58,14 @@ gcloud-sdk = { version = "0.28.1", features = [ crc32c = "0.6.8" azure_identity = "0.27.0" azure_security_keyvault_secrets = "0.6.0" -openssl = { version = "0.10", features = ["vendored"] } aws-lc-sys = { version = "0.31.0", features = ["bindgen"] } +[target.'cfg(all(target_os="linux", target_env="musl"))'.dependencies] +openssl = { version = "0.10", features = ["vendored"] } + +[target.'cfg(target_os="macos")'.dependencies] +openssl = { version = "0.10", features = ["vendored"] } + [dev-dependencies] pretty_assertions = "1.4.1" proptest = "1.5.0"