From 71ee9439ca52cea88e7906a8f55435b3ba455a21 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 27 Jul 2018 09:52:47 -0700 Subject: Support builds of OpenSSL from vendored source (take 2) This is a revival of #684 to see if I can help push it across the finish line! Closes #580 --- openssl-sys/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openssl-sys/Cargo.toml') diff --git a/openssl-sys/Cargo.toml b/openssl-sys/Cargo.toml index b48d3055..195a179f 100644 --- a/openssl-sys/Cargo.toml +++ b/openssl-sys/Cargo.toml @@ -11,12 +11,16 @@ categories = ["cryptography", "external-ffi-bindings"] links = "openssl" build = "build/main.rs" +[features] +vendored = ['openssl-src'] + [dependencies] libc = "0.2" [build-dependencies] pkg-config = "0.3.9" cc = "1.0" +openssl-src = { version = "110.0.4", optional = true } [target.'cfg(target_env = "msvc")'.build-dependencies] vcpkg = "0.2" -- cgit v1.2.3