From c130ef3557990987bd3cdc8ad2691ebaac03f9fc Mon Sep 17 00:00:00 2001 From: Andreas Neuhaus Date: Sun, 8 Sep 2024 13:36:35 +0200 Subject: [PATCH] Remove ssh and https features from git2 build-dependency --- firmware/Cargo.lock | 36 ------------------------------------ firmware/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/firmware/Cargo.lock b/firmware/Cargo.lock index 967b19e..9b34a09 100644 --- a/firmware/Cargo.lock +++ b/firmware/Cargo.lock @@ -796,8 +796,6 @@ dependencies = [ "libc", "libgit2-sys", "log", - "openssl-probe", - "openssl-sys", "url", ] @@ -900,9 +898,7 @@ checksum = "10472326a8a6477c3c20a64547b0059e4b0d086869eee31e6d7da728a8eb7224" dependencies = [ "cc", "libc", - "libssh2-sys", "libz-sys", - "openssl-sys", "pkg-config", ] @@ -912,20 +908,6 @@ version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" -[[package]] -name = "libssh2-sys" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dc8a030b787e2119a731f1951d6a773e2280c660f8ec4b0f5e1505a386e71ee" -dependencies = [ - "cc", - "libc", - "libz-sys", - "openssl-sys", - "pkg-config", - "vcpkg", -] - [[package]] name = "libz-sys" version = "1.1.20" @@ -1040,24 +1022,6 @@ dependencies = [ "autocfg", ] -[[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.103" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "paste" version = "1.0.15" diff --git a/firmware/Cargo.toml b/firmware/Cargo.toml index a509594..ff7ab76 100644 --- a/firmware/Cargo.toml +++ b/firmware/Cargo.toml @@ -37,7 +37,7 @@ opt-level = "s" overflow-checks = false [build-dependencies] -git2 = "0.19" +git2 = { version = "0.19", default-features = false } [dependencies] display-interface = "0.5"