From b58d940e716efc7aca7b3df9e1b9bf7b77a150ac Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 26 Apr 2024 07:13:02 +0900 Subject: [PATCH] fix (backend-rs): add openssl as a dependency --- Cargo.lock | 11 +++++++++++ Cargo.toml | 1 + packages/backend-rs/Cargo.toml | 1 + 3 files changed, 13 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 1e5df0278a..ed3f639cef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", ] diff --git a/Cargo.toml b/Cargo.toml index cda98ba300..14e5d45c40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/packages/backend-rs/Cargo.toml b/packages/backend-rs/Cargo.toml index 8117c14a58..c1b511b992 100644 --- a/packages/backend-rs/Cargo.toml +++ b/packages/backend-rs/Cargo.toml @@ -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 }