deps: use vendored openssl

This commit is contained in:
imlonghao 2022-01-27 21:25:38 +08:00
parent 869be2139f
commit 4121463c34
Failed to extract signature
2 changed files with 14 additions and 2 deletions

15
Cargo.lock generated
View file

@ -518,6 +518,7 @@ dependencies = [
"chrono", "chrono",
"deadpool-postgres", "deadpool-postgres",
"enum-display-derive", "enum-display-derive",
"openssl",
"pg_bigdecimal", "pg_bigdecimal",
"postgres-types", "postgres-types",
"sentry", "sentry",
@ -1846,9 +1847,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
[[package]] [[package]]
name = "openssl" name = "openssl"
version = "0.10.38" version = "0.10.33"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c7ae222234c30df141154f159066c5093ff73b63204dcda7121eb082fc56a95" checksum = "a61075b62a23fef5a29815de7536d940aa35ce96d18ce0cc5076272db678a577"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cfg-if 1.0.0", "cfg-if 1.0.0",
@ -1864,6 +1865,15 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-src"
version = "111.17.0+1.1.1m"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05d6a336abd10814198f66e2a91ccd7336611f30334119ca8ce300536666fcf4"
dependencies = [
"cc",
]
[[package]] [[package]]
name = "openssl-sys" name = "openssl-sys"
version = "0.9.72" version = "0.9.72"
@ -1873,6 +1883,7 @@ dependencies = [
"autocfg", "autocfg",
"cc", "cc",
"libc", "libc",
"openssl-src",
"pkg-config", "pkg-config",
"vcpkg", "vcpkg",
] ]

View file

@ -14,6 +14,7 @@ cached = "0.30.0"
chrono = "0.4.19" chrono = "0.4.19"
deadpool-postgres = "0.10.1" deadpool-postgres = "0.10.1"
enum-display-derive = "0.1.1" enum-display-derive = "0.1.1"
openssl = { version = "0.10.33", features = ["vendored"] }
pg_bigdecimal = "0.1.4" pg_bigdecimal = "0.1.4"
postgres-types = { version = "0.2.2", features = ["derive"]} postgres-types = { version = "0.2.2", features = ["derive"]}
sentry = "0.24.2" sentry = "0.24.2"