-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a feature to build a vendored OpenSSL #5865
Conversation
This will be enabled through rust-lang/rust to ensure that for dist builds we can build a Cargo with a vendored OpenSSL
r? @matklad (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 585c7d4 has been approved by |
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
☀️ Test successful - status-appveyor, status-travis |
@@ -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 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does cargo currently pull in openssl itself, or just openssl-sys? You can depend on openssl-sys 0.9.35 and use its vendored feature alternatively.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like Cargo depends on crypto-hash
which depends on openssl
-the-crate, although openssl-sys
is less likely to change over time so it may be best to depend on that anyway
Update cargo - Update transitioning url (rust-lang/cargo#5889) - Resolve some clippy lint warnings (rust-lang/cargo#5884) - Don't kill child processes on normal exit on Windows (rust-lang/cargo#5887) - fix a bunch of clippy warnings (rust-lang/cargo#5876) - Add support for rustc's --error-format short (rust-lang/cargo#5879) - Support JSON with rustdoc. (rust-lang/cargo#5878) - Fix rustfmt instructions in CONTRIBUTING.md (rust-lang/cargo#5880) - Allow `cargo run` in workspaces. (rust-lang/cargo#5877) - Change target filters in workspaces. (rust-lang/cargo#5873) - Improve verbose console and log for finding git repo in package check (rust-lang/cargo#5858) - Meta rename (rust-lang/cargo#5871) - fetch: skip target tests when cross_compile is disabled (rust-lang/cargo#5870) - Fully capture rustc and rustdoc output when -Zcompile-progress is passed (rust-lang/cargo#5862) - Fix test --example docs. (rust-lang/cargo#5867) - Add a feature to build a vendored OpenSSL (rust-lang/cargo#5865)
This will be enabled through rust-lang/rust to ensure that for dist builds we
can build a Cargo with a vendored OpenSSL