diff options
author | Martin Fischer <martin@push-f.com> | 2022-07-30 19:50:33 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-07-30 22:21:23 +0200 |
commit | 127597a9ced661cd94f3f5a4feecef74eb197334 (patch) | |
tree | 607cbd05f00e10ac246fcb07f8da9184e7f12855 | |
parent | 56c071bb832304ba9a2ec67215b1a8ae40723840 (diff) |
drop unneeded indirect openssl dependency
Since adding the rlua dependency I can no longer execute gitpad built on
my developer machine on my server, since it fails with:
gitpad2: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by gitpad2)
As it turns out an easy workaround is to statically link MUSL
(by passing --target x86_64-unknown-linux-musl to cargo build).
The openssl-sys dependency (pulled in by git2) however failed to build
for MUSL. Since we don't need it the simplest solution is to just drop it.
-rw-r--r-- | Cargo.lock | 37 | ||||
-rw-r--r-- | Cargo.toml | 2 |
2 files changed, 1 insertions, 38 deletions
@@ -215,8 +215,6 @@ dependencies = [ "libc", "libgit2-sys", "log", - "openssl-probe", - "openssl-sys", "url", ] @@ -392,27 +390,11 @@ checksum = "d0fa6563431ede25f5cc7f6d803c6afbc1c5d3ad3d4925d12c882bf2b526f5d1" dependencies = [ "cc", "libc", - "libssh2-sys", "libz-sys", - "openssl-sys", "pkg-config", ] [[package]] -name = "libssh2-sys" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b094a36eb4b8b8c8a7b4b8ae43b2944502be3e59cd87687595cf6b0a71b3f4ca" -dependencies = [ - "cc", - "libc", - "libz-sys", - "openssl-sys", - "pkg-config", - "vcpkg", -] - -[[package]] name = "libz-sys" version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -527,25 +509,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" [[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.75" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5f9bd0c2710541a3cda73d6f9ac4f1b240de4ae261065d309dbe73d9dceb42f" -dependencies = [ - "autocfg", - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] name = "os_str_bytes" version = "6.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -29,7 +29,7 @@ difference = { version = "2.0" } pulldown-cmark = { version = "0.9" } httpdate = "1" -git2 = "0.14" +git2 = { version = "0.14", default-features = false } url = "2.2" |