From a1a82f844aabb903e2f0e85d1f281579ac1959bf Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Thu, 9 May 2024 20:19:42 -0400 Subject: [PATCH] macos cargo.toml fixes --- Cargo.lock | 2 ++ Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5902c21..d778f96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2794,8 +2794,10 @@ dependencies = [ "image 0.25.1", "is_elevated", "log", + "lzma-sys", "num-format", "once_cell", + "openssl", "portable-pty", "rand", "regex", diff --git a/Cargo.toml b/Cargo.toml index 87776e4..7c2a56f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -96,10 +96,10 @@ tls-api-openssl = "0.9.0" # `arti-client` with `static` doesn't actually # statically link OpenSSL on macOS, both x64 + ARM. # Should probably file a bug report. -# openssl = { version = "0.10", features = ["vendored"] } +openssl = { version = "0.10", features = ["vendored"] } # We don't even use `xz` in `flate2` but this gets dynamically # linked as well which causes problems, so statically link it. -# lzma-sys = { version = "0.1.20", features = ["static"] } +lzma-sys = { version = "0.1", features = ["static"] } [target.'cfg(not(target_os = "macos"))'.dependencies] tls-api-native-tls = "0.9.0"