fix (backend-rs): add openssl as a dependency

This commit is contained in:
naskya 2024-04-26 07:13:02 +09:00
parent 42f704b515
commit b58d940e71
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
3 changed files with 13 additions and 0 deletions

11
Cargo.lock generated
View file

@ -213,6 +213,7 @@ dependencies = [
"napi-derive",
"nom-exif",
"once_cell",
"openssl",
"pretty_assertions",
"rand",
"redis",
@ -1818,6 +1819,15 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-src"
version = "300.2.3+3.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cff92b6f71555b61bb9315f7c64da3ca43d87531622120fea0195fc761b4843"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.102"
@ -1826,6 +1836,7 @@ checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"
dependencies = [
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]

View file

@ -20,6 +20,7 @@ idna = "0.5.0"
image = "0.25.1"
nom-exif = "1.2.0"
once_cell = "1.19.0"
openssl = "0.10.64"
pretty_assertions = "1.4.0"
proc-macro2 = "1.0.79"
quote = "1.0.36"

View file

@ -27,6 +27,7 @@ idna = { workspace = true }
image = { workspace = true }
nom-exif = { workspace = true }
once_cell = { workspace = true }
openssl = { workspace = true, features = ["vendored"] }
rand = { workspace = true }
redis = { workspace = true }
regex = { workspace = true }