Skip to content

Commit

Permalink
Add a feature to build a vendored OpenSSL
Browse files Browse the repository at this point in the history
This will be enabled through rust-lang/rust to ensure that for dist builds we
can build a Cargo with a vendored OpenSSL
  • Loading branch information
alexcrichton committed Aug 5, 2018
1 parent b424882 commit 585c7d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ toml = "0.4.2"
url = "1.1"
clap = "2.31.2"
unicode-width = "0.1.5"
openssl = { version = '0.10.11', optional = true }

# A noop dependency that changes in the Rust repository, it's a bit of a hack.
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
Expand Down Expand Up @@ -95,3 +96,6 @@ bufstream = "0.1"
name = "cargo"
test = false
doc = false

[features]
vendored-openssl = ['openssl/vendored']

0 comments on commit 585c7d4

Please sign in to comment.