diff options
| author | Alex Crichton <[email protected]> | 2018-07-27 09:52:47 -0700 |
|---|---|---|
| committer | Alex Crichton <[email protected]> | 2018-07-30 15:15:24 -0700 |
| commit | 71ee9439ca52cea88e7906a8f55435b3ba455a21 (patch) | |
| tree | 1978cfea39baa4cf51c78afaa22a0cda07bc3516 /openssl-sys/Cargo.toml | |
| parent | Merge pull request #965 from sfackler/fix-no-ec2m (diff) | |
| download | archived-rust-openssl-71ee9439ca52cea88e7906a8f55435b3ba455a21.tar.xz archived-rust-openssl-71ee9439ca52cea88e7906a8f55435b3ba455a21.zip | |
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
Diffstat (limited to 'openssl-sys/Cargo.toml')
| -rw-r--r-- | openssl-sys/Cargo.toml | 4 |
1 files changed, 4 insertions, 0 deletions
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" |