macos cargo.toml fixes

This commit is contained in:
hinto.janai 2024-05-09 20:19:42 -04:00
parent d203c94c7a
commit a1a82f844a
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
2 changed files with 4 additions and 2 deletions

2
Cargo.lock generated
View file

@ -2794,8 +2794,10 @@ dependencies = [
"image 0.25.1",
"is_elevated",
"log",
"lzma-sys",
"num-format",
"once_cell",
"openssl",
"portable-pty",
"rand",
"regex",

View file

@ -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"