added openssl vendored for cross-building
All checks were successful
cargo_test_bench / Run Tests (push) Successful in 2m53s
cargo_test_bench / Run Benchmarks (push) Successful in 4m28s

This commit is contained in:
saji 2024-08-12 16:37:31 -05:00
parent bd5051777f
commit 11129edbc9
2 changed files with 13 additions and 0 deletions

11
Cargo.lock generated
View file

@ -1682,6 +1682,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 = "300.3.1+3.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7259953d42a81bf137fbbd73bd30a8e1914d6dce43c2b90ed575783a22608b91"
dependencies = [
"cc",
]
[[package]] [[package]]
name = "openssl-sys" name = "openssl-sys"
version = "0.9.103" version = "0.9.103"
@ -1690,6 +1699,7 @@ checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
dependencies = [ dependencies = [
"cc", "cc",
"libc", "libc",
"openssl-src",
"pkg-config", "pkg-config",
"vcpkg", "vcpkg",
] ]
@ -1820,6 +1830,7 @@ dependencies = [
"mime_guess", "mime_guess",
"minijinja", "minijinja",
"minijinja-embed", "minijinja-embed",
"openssl",
"palette", "palette",
"rayon", "rayon",
"reqwest", "reqwest",

View file

@ -33,6 +33,8 @@ toml = "0.8.19"
tower-http = { version = "0.5.2", features = ["trace"] } tower-http = { version = "0.5.2", features = ["trace"] }
tracing = "0.1.40" tracing = "0.1.40"
tracing-subscriber = "0.3.18" tracing-subscriber = "0.3.18"
# for cross build
openssl = { version = "0.10", features = ["vendored"] }
[dev-dependencies] [dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] } criterion = { version = "0.5", features = ["html_reports"] }