misc: Make openssl vendored for cross-compil

This commit is contained in:
Valentin Tolmer 2021-11-20 16:33:38 +01:00 committed by nitnelave
parent 7b081fce61
commit f1bda21cad
2 changed files with 15 additions and 0 deletions

11
Cargo.lock generated
View file

@ -1800,6 +1800,7 @@ dependencies = [
"log",
"mockall",
"opaque-ke",
"openssl-sys",
"orion",
"rand 0.8.4",
"sea-query",
@ -2238,6 +2239,15 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
[[package]]
name = "openssl-src"
version = "111.16.0+1.1.1l"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ab2173f69416cf3ec12debb5823d244127d23a9b127d5a5189aa97c5fa2859f"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.66"
@ -2247,6 +2257,7 @@ dependencies = [
"autocfg 1.0.1",
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]

View file

@ -85,5 +85,9 @@ version = "*"
features = ["serde"]
version = "*"
[dependencies.openssl-sys]
features = ["vendored"]
version = "*"
[dev-dependencies]
mockall = "0.9.1"