Unvendor OpenSSL for Windows to avoid CI troubles with perl.exe

(cherry picked from commit c9bfc99c72)
This commit is contained in:
Michael Vines
2021-12-03 09:35:03 -08:00
parent b6d040b0d7
commit 585695445f

View File

@ -35,8 +35,13 @@ zstd = "0.5.1"
# openssl is a dependency of the goauth and smpl_jwt crates, but explicitly
# declare it here as well to activate the "vendored" feature that builds OpenSSL
# statically
# statically...
[target."cfg(not(windows))".dependencies]
openssl = { version = "0.10", features = ["vendored"] }
# ...except on Windows to avoid having to deal with getting CI past a build-time
# Perl dependency
[target."cfg(windows)".dependencies]
openssl = { version = "0.10", features = [] }
[lib]
crate-type = ["lib"]