From 1bc75d974d28c5fd3ba1e106436618dc83156927 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Sat, 10 Feb 2024 20:17:49 +0200 Subject: [PATCH] chore(deps): remove build-time dependency on libgit2 (#6537) --- Cargo.lock | 44 ------------------------------------- crates/node-core/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ca75e8edd563..72ac7e80eeb5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3044,19 +3044,6 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" -[[package]] -name = "git2" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b3ba52851e73b46a4c3df1d89343741112003f0f6f13beb0dfac9e457c3fdcd" -dependencies = [ - "bitflags 2.4.2", - "libc", - "libgit2-sys", - "log", - "url", -] - [[package]] name = "glob" version = "0.3.1" @@ -4111,18 +4098,6 @@ dependencies = [ "cc", ] -[[package]] -name = "libgit2-sys" -version = "0.16.2+1.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee4126d8b4ee5c9d9ea891dd875cfdc1e9d0950437179104b183d7d8a74d24e8" -dependencies = [ - "cc", - "libc", - "libz-sys", - "pkg-config", -] - [[package]] name = "libloading" version = "0.8.1" @@ -4161,18 +4136,6 @@ dependencies = [ "redox_syscall 0.4.1", ] -[[package]] -name = "libz-sys" -version = "1.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "037731f5d3aaa87a5675e895b63ddff1a87624bc29f77004ea829809654e48f6" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "linked-hash-map" version = "0.5.6" @@ -9070,12 +9033,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - [[package]] name = "vergen" version = "8.3.1" @@ -9085,7 +9042,6 @@ dependencies = [ "anyhow", "cargo_metadata", "cfg-if", - "git2", "regex", "rustversion", "time", diff --git a/crates/node-core/Cargo.toml b/crates/node-core/Cargo.toml index 8bf45baf8dae..6448161c4200 100644 --- a/crates/node-core/Cargo.toml +++ b/crates/node-core/Cargo.toml @@ -123,4 +123,4 @@ optimism = [ jemalloc = ["dep:jemalloc-ctl"] [build-dependencies] -vergen = { version = "8.0.0", features = ["build", "cargo", "git", "git2"] } +vergen = { version = "8.0.0", features = ["build", "cargo", "git", "gitcl"] }