From 55ee04b3869a6809660f04a1e09016b7883ceb47 Mon Sep 17 00:00:00 2001 From: Vann-Dev Date: Sat, 16 Dec 2023 21:05:09 +0700 Subject: [PATCH] test: add openssl --- Cargo.lock | 11 +++++++++++ Cargo.toml | 1 + 2 files changed, 12 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 39348c3..f164170 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -670,6 +670,7 @@ dependencies = [ "hex", "image", "magic-crypt", + "openssl", "reqwest", "serde", "serde_json", @@ -966,6 +967,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.2.1+3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fe476c29791a5ca0d1273c697e96085bbabbbea2ef7afd5617e78a4b40332d3" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.97" @@ -974,6 +984,7 @@ checksum = "c3eaad34cdd97d81de97964fc7f29e2d104f483840d906ef56daa1912338460b" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index f8ffdc6..a590cfe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,7 @@ magic-crypt = "3.1.13" tokio = { version = "1", features = ["full"] } warp = "0.3.6" reqwest = { version = "0.11", features = ["json"] } +openssl = { version = "0.10", features = ["vendored"] } image = "0.24.7" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.108"