diff --git a/Cargo.lock b/Cargo.lock index 9d41cbe3..8ca8665d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -751,6 +751,7 @@ dependencies = [ "indicatif", "lazy_static", "md5", + "openssl-sys", "path-absolutize", "regex", "reqwest", @@ -948,15 +949,24 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "111.25.2+1.1.1t" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320708a054ad9b3bf314688b5db87cf4d6683d64cfc835e2337924ae62bf4431" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" -version = "0.9.83" +version = "0.9.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "666416d899cf077260dac8698d60a60b435a46d57e82acb1be3d0dad87284e5b" +checksum = "3a20eace9dc2d82904039cb76dcf50fb1a0bba071cfd1629720b5d6f1ddba0fa" dependencies = [ - "autocfg", "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index 3a7e291c..3ed888cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,9 +39,12 @@ tempdir = "0.3.7" tinytemplate = "1.2.1" tokio = { version = "1.26.0", features = ["full"] } -[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies] +[target."cfg(any(target_os = \"linux\", target_os = \"macos\"))".dependencies] exec = "0.3.1" +[target."cfg(target_os = \"linux\")".dependencies] +openssl-sys = { version = "0.9.84", optional = true, features = [ "vendored" ] } + [profile.release] codegen-units = 1 lto = true