Skip to content

Commit 582f0cd

Browse files
committed
Auto merge of #5865 - alexcrichton:vendor-openssl, r=matklad
Add a feature to build a vendored OpenSSL This will be enabled through rust-lang/rust to ensure that for dist builds we can build a Cargo with a vendored OpenSSL
2 parents b424882 + 585c7d4 commit 582f0cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ toml = "0.4.2"
5555
url = "1.1"
5656
clap = "2.31.2"
5757
unicode-width = "0.1.5"
58+
openssl = { version = '0.10.11', optional = true }
5859

5960
# A noop dependency that changes in the Rust repository, it's a bit of a hack.
6061
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
@@ -95,3 +96,6 @@ bufstream = "0.1"
9596
name = "cargo"
9697
test = false
9798
doc = false
99+
100+
[features]
101+
vendored-openssl = ['openssl/vendored']

0 commit comments

Comments
 (0)