Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Add vendored openssl crate to allow MUSL build #114

Merged
merged 1 commit into from
Nov 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,14 @@ log = "0.4"
url = "2.2"
vault = { git = "https://github.com/lawliet89/vault-rs", package = "vault-rs", tag = "v0.2.0" }
tokio = { version = "0.2", features=["macros", "rt-threaded"] }

# Add openssl-sys as a direct dependency so it can be cross compiled to
# x86_64-unknown-linux-musl using the "vendored" feature below
# cf. https://github.com/sfackler/rust-openssl/issues/980#issuecomment-415757400
openssl-sys = "*"

[features]
# Force openssl-sys to staticly link in the openssl library. Necessary when
# cross compiling to x86_64-unknown-linux-musl.
# cf. https://github.com/sfackler/rust-openssl/issues/980#issuecomment-415757400
vendored = ["openssl-sys/vendored"]