Skip to content

Commit

Permalink
cargo/build: exploit openssl-src to build openssl
Browse files Browse the repository at this point in the history
Docker image rust-musl-cross upstream issue[1] had removed openssl
development package and suggests us to directly use `openssl-src` crate,
which is a popular methond in rust community.

With `openssl-src`, openssl wil be compiled statically and we don't have
to install openssl-dev manually anymore.

[1]: rust-cross/rust-musl-cross#35

Signed-off-by: Changwei Ge <[email protected]>
  • Loading branch information
changweige authored and pt203167 committed Jul 12, 2021
1 parent 4d6b33a commit 81e3ce5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
27 changes: 19 additions & 8 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ upgrade-manager = { path = "upgrade" }
vm-memory = { version = ">=0.2.0", optional = true }
chrono = "0.4.19"
storage = { path = "storage" }
openssl = { version = "0.10.35", features = ["vendored"] }

event-manager = { git = "https://github.com/rust-vmm/event-manager.git", tag = "v0.2.0" }
fuse-backend-rs = { git = "https://github.com/cloud-hypervisor/fuse-backend-rs.git", optional = true }
Expand Down

0 comments on commit 81e3ce5

Please sign in to comment.