From 22d44ffba4998fe701c6f60b6198f8467303ab7b Mon Sep 17 00:00:00 2001 From: Philipp Hoenisch Date: Thu, 22 Apr 2021 18:22:27 +1000 Subject: [PATCH] Use vendored openssl --- Cargo.lock | 10 ++++++++++ swap/Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index bddbcc3e0..261182024 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2406,6 +2406,15 @@ dependencies = [ "openssl-sys", ] +[[package]] +name = "openssl-src" +version = "111.15.0+1.1.1k" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1a5f6ae2ac04393b217ea9f700cd04fa9bf3d93fae2872069f3d15d908af70a" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.61" @@ -2415,6 +2424,7 @@ dependencies = [ "autocfg 1.0.1", "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/swap/Cargo.toml b/swap/Cargo.toml index 03711c9cf..b208ebe6e 100644 --- a/swap/Cargo.toml +++ b/swap/Cargo.toml @@ -55,7 +55,7 @@ tokio-socks = "0.5" tokio-tungstenite = { version = "0.14", features = [ "rustls-tls" ] } tokio-util = { version = "0.6", features = ["io"] } toml = "0.5" -torut = "0.1" +torut = { version = "0.1", features = ["serialize", "v2", "v3", "control", "vendored_openssl"] } tracing = { version = "0.1", features = ["attributes"] } tracing-appender = "0.1" tracing-futures = { version = "0.2", features = ["std-future", "futures-03"] }