fix: change vergen features to match foundry (#6047)

This commit is contained in:
Dan Cline
2024-01-12 17:20:32 -05:00
committed by GitHub
parent bc229c67c9
commit cea638108b
3 changed files with 46 additions and 2 deletions

44
Cargo.lock generated
View File

@@ -3022,6 +3022,19 @@ version = "0.28.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
[[package]]
name = "git2"
version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fbf97ba92db08df386e10c8ede66a2a0369bd277090afd8710e19e38de9ec0cd"
dependencies = [
"bitflags 2.4.1",
"libc",
"libgit2-sys",
"log",
"url",
]
[[package]]
name = "glob"
version = "0.3.1"
@@ -4096,6 +4109,18 @@ dependencies = [
"cc",
]
[[package]]
name = "libgit2-sys"
version = "0.16.1+1.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2a2bb3680b094add03bb3732ec520ece34da31a8cd2d633d1389d0f0fb60d0c"
dependencies = [
"cc",
"libc",
"libz-sys",
"pkg-config",
]
[[package]]
name = "libloading"
version = "0.8.1"
@@ -4134,6 +4159,18 @@ dependencies = [
"redox_syscall 0.4.1",
]
[[package]]
name = "libz-sys"
version = "1.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "295c17e837573c8c821dbaeb3cceb3d745ad082f7572191409e69cbc1b3fd050"
dependencies = [
"cc",
"libc",
"pkg-config",
"vcpkg",
]
[[package]]
name = "linked-hash-map"
version = "0.5.6"
@@ -8810,6 +8847,12 @@ 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.2.6"
@@ -8817,6 +8860,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1290fd64cc4e7d3c9b07d7f333ce0ce0007253e32870e632624835cc80b83939"
dependencies = [
"anyhow",
"git2",
"rustversion",
"time",
]

View File

@@ -153,7 +153,7 @@ optimism = [
ethereum = []
[build-dependencies]
vergen = { version = "8.0.0", features = ["build", "cargo", "git", "gitcl"] }
vergen = { version = "8.0.0", features = ["build", "cargo", "git", "git2"] }
[[bin]]
name = "reth"

View File

@@ -87,7 +87,7 @@ paste = "1.0"
assert_matches.workspace = true
[build-dependencies]
vergen = { version = "8.0.0", features = ["git", "gitcl"] }
vergen = { version = "8", features = ["git", "git2"] }
[features]
default = ["mdbx"]