fix(cli): use vendored openSSL (#5805)

This commit is contained in:
Lucas Fernandes Nogueira 2022-12-10 06:37:16 -08:00 committed by GitHub
parent dd65bc99b2
commit be446a8665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

11
tooling/cli/Cargo.lock generated
View File

@ -2579,6 +2579,15 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-src"
version = "111.24.0+1.1.1s"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3498f259dab01178c6228c6b00dcef0ed2a2d5e20d648c017861227773ea4abd"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.74"
@ -2588,6 +2597,7 @@ dependencies = [
"autocfg",
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]
@ -3850,6 +3860,7 @@ dependencies = [
"notify",
"notify-debouncer-mini",
"once_cell",
"openssl",
"os_info",
"os_pipe",
"regex",

View File

@ -92,5 +92,9 @@ winapi = { version = "0.3", features = [ "handleapi", "processenv", "winbase", "
[target."cfg(unix)".dependencies]
libc = "0.2"
[target.'cfg(target_os = "macos")'.dependencies]
# temporary fix, tauri-mobile should provide the openssl-vendored feature
openssl = { version = "0.10", features = ["vendored"] }
[profile.release]
lto = true