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

This reverts commit 4f28ed1044.
This commit is contained in:
Tyera Eulberg
2021-12-16 14:22:17 -07:00
committed by Tyera Eulberg
parent 9985f5fa5c
commit 3ed9a47082

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