fix(cargo): adding vendored openssl to help with build

This commit is contained in:
Scott Lyons 2024-08-15 08:48:38 -07:00
commit ead0470c3e
3 changed files with 13 additions and 1 deletions

View file

@ -161,7 +161,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: sdist
args: -F python --out dist -m szurubooru-client/Cargo.toml
args: --out dist -m szurubooru-client/Cargo.toml
- name: Upload sdist
uses: actions/upload-artifact@v4
with:

11
Cargo.lock generated
View file

@ -883,6 +883,15 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
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]]
name = "openssl-sys"
version = "0.9.103"
@ -891,6 +900,7 @@ checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
dependencies = [
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]
@ -1576,6 +1586,7 @@ dependencies = [
"futures-util",
"hex",
"mockito",
"openssl",
"pyo3",
"reqwest",
"serde",

View file

@ -16,6 +16,7 @@ chrono = { version = "0.4.38", features = ["serde"] }
derive_builder = "0.20.0"
futures-util = "0.3.30"
hex = "0.4.3"
openssl = { version = "0.10.66", features = ["vendored"] }
pyo3 = { version="0.22.0", optional=true, features=["chrono-tz", "chrono", "extension-module", "serde", "experimental-async"] }
reqwest = { version = "0.12.5", features = ["json", "multipart", "stream"] }
serde = { version = "1.0.204", features = ["derive"] }