From b5122c604497d75a45267e83ebe20ca99d1a9c14 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sat, 27 Apr 2019 14:25:01 +0800 Subject: [PATCH] Add OpenSSL library for API tests --- Cargo.lock | 2 ++ Cargo.toml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 2c6711ff..5437dd28 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1040,6 +1040,8 @@ dependencies = [ name = "test" version = "0.1.0" dependencies = [ + "openssl 0.10.20 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.9.43 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index c03aa92b..e4ebbc65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,3 +12,7 @@ doctest = false reqwest = "0.9" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" + +[target.'cfg(unix)'.dev-dependencies] +openssl = "0.10" +openssl-sys = "0.9"