Update Rust Edition to 2024 (#7766)

* #7749

Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
chonghe
2025-08-13 11:04:31 +08:00
committed by GitHub
parent bd6b8b6a65
commit 522bd9e9c6
468 changed files with 3594 additions and 3396 deletions

70
Cargo.lock generated
View File

@@ -37,7 +37,7 @@ dependencies = [
"eth2_keystore",
"eth2_wallet",
"filesystem",
"rand 0.8.5",
"rand 0.9.2",
"regex",
"rpassword",
"serde",
@@ -228,7 +228,7 @@ dependencies = [
"paste",
"proptest",
"proptest-derive",
"rand 0.9.0",
"rand 0.9.2",
"ruint",
"rustc-hash 2.1.1",
"serde",
@@ -911,7 +911,7 @@ dependencies = [
"operation_pool",
"parking_lot 0.12.3",
"proto_array",
"rand 0.8.5",
"rand 0.9.2",
"rayon",
"safe_arith",
"sensitive_url",
@@ -1175,7 +1175,7 @@ dependencies = [
"ethereum_ssz",
"fixed_bytes",
"hex",
"rand 0.8.5",
"rand 0.9.2",
"safe_arith",
"serde",
"tree_hash",
@@ -1573,7 +1573,7 @@ dependencies = [
"monitoring_api",
"network",
"operation_pool",
"rand 0.8.5",
"rand 0.9.2",
"sensitive_url",
"serde",
"serde_json",
@@ -2834,7 +2834,7 @@ dependencies = [
"multiaddr",
"pretty_reqwest_error",
"proto_array",
"rand 0.8.5",
"rand 0.9.2",
"reqwest 0.11.27",
"reqwest-eventsource",
"sensitive_url",
@@ -2891,7 +2891,7 @@ dependencies = [
"hex",
"hmac 0.11.0",
"pbkdf2 0.8.0",
"rand 0.8.5",
"rand 0.9.2",
"scrypt 0.7.0",
"serde",
"serde_json",
@@ -2932,7 +2932,7 @@ dependencies = [
"eth2_key_derivation",
"eth2_keystore",
"hex",
"rand 0.8.5",
"rand 0.9.2",
"serde",
"serde_json",
"serde_repr",
@@ -3325,7 +3325,7 @@ dependencies = [
"metrics",
"parking_lot 0.12.3",
"pretty_reqwest_error",
"rand 0.8.5",
"rand 0.9.2",
"reqwest 0.11.27",
"sensitive_url",
"serde",
@@ -3873,7 +3873,7 @@ dependencies = [
"ff 0.13.1",
"rand 0.8.5",
"rand_core 0.6.4",
"rand_xorshift",
"rand_xorshift 0.3.0",
"subtle",
]
@@ -4113,7 +4113,7 @@ dependencies = [
"idna",
"ipnet",
"once_cell",
"rand 0.9.0",
"rand 0.9.2",
"socket2",
"thiserror 2.0.12",
"tinyvec",
@@ -4135,7 +4135,7 @@ dependencies = [
"moka",
"once_cell",
"parking_lot 0.12.3",
"rand 0.9.0",
"rand 0.9.2",
"resolv-conf",
"smallvec",
"thiserror 2.0.12",
@@ -4295,7 +4295,7 @@ dependencies = [
"operation_pool",
"parking_lot 0.12.3",
"proto_array",
"rand 0.8.5",
"rand 0.9.2",
"safe_arith",
"sensitive_url",
"serde",
@@ -4792,7 +4792,7 @@ dependencies = [
"lockfile",
"metrics",
"parking_lot 0.12.3",
"rand 0.8.5",
"rand 0.9.2",
"reqwest 0.11.27",
"serde",
"serde_json",
@@ -5693,7 +5693,7 @@ dependencies = [
"prometheus-client",
"quickcheck",
"quickcheck_macros",
"rand 0.8.5",
"rand 0.9.2",
"regex",
"serde",
"sha2 0.9.9",
@@ -6143,7 +6143,7 @@ dependencies = [
"hyper 1.6.0",
"hyper-util",
"log",
"rand 0.9.0",
"rand 0.9.2",
"regex",
"serde_json",
"serde_urlencoded",
@@ -6389,7 +6389,9 @@ dependencies = [
"operation_pool",
"parking_lot 0.12.3",
"rand 0.8.5",
"rand 0.9.2",
"rand_chacha 0.3.1",
"rand_chacha 0.9.0",
"serde_json",
"slot_clock",
"smallvec",
@@ -6771,7 +6773,7 @@ dependencies = [
"futures-util",
"opentelemetry",
"percent-encoding",
"rand 0.9.0",
"rand 0.9.2",
"serde_json",
"thiserror 2.0.12",
]
@@ -6789,7 +6791,7 @@ dependencies = [
"maplit",
"metrics",
"parking_lot 0.12.3",
"rand 0.8.5",
"rand 0.9.2",
"rayon",
"serde",
"state_processing",
@@ -7374,7 +7376,7 @@ dependencies = [
"num-traits",
"rand 0.8.5",
"rand_chacha 0.3.1",
"rand_xorshift",
"rand_xorshift 0.3.0",
"regex-syntax 0.8.5",
"rusty-fork",
"tempfile",
@@ -7619,14 +7621,13 @@ dependencies = [
[[package]]
name = "rand"
version = "0.9.0"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94"
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
dependencies = [
"rand_chacha 0.9.0",
"rand_core 0.9.3",
"serde",
"zerocopy 0.8.23",
]
[[package]]
@@ -7677,6 +7678,15 @@ dependencies = [
"rand_core 0.6.4",
]
[[package]]
name = "rand_xorshift"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a"
dependencies = [
"rand_core 0.9.3",
]
[[package]]
name = "rayon"
version = "1.10.0"
@@ -8023,7 +8033,7 @@ dependencies = [
"primitive-types 0.12.2",
"proptest",
"rand 0.8.5",
"rand 0.9.0",
"rand 0.9.2",
"rlp",
"ruint-macro",
"serde",
@@ -8794,7 +8804,7 @@ dependencies = [
"maplit",
"metrics",
"parking_lot 0.12.3",
"rand 0.8.5",
"rand 0.9.2",
"rayon",
"redb",
"safe_arith",
@@ -8960,7 +8970,7 @@ dependencies = [
"itertools 0.10.5",
"merkle_proof",
"metrics",
"rand 0.8.5",
"rand 0.9.2",
"rayon",
"safe_arith",
"smallvec",
@@ -9006,7 +9016,7 @@ dependencies = [
"lru",
"metrics",
"parking_lot 0.12.3",
"rand 0.8.5",
"rand 0.9.2",
"redb",
"safe_arith",
"serde",
@@ -9915,8 +9925,8 @@ dependencies = [
"milhouse",
"parking_lot 0.12.3",
"paste",
"rand 0.8.5",
"rand_xorshift",
"rand 0.9.2",
"rand_xorshift 0.4.0",
"rayon",
"regex",
"rpds",
@@ -10155,7 +10165,7 @@ dependencies = [
"filesystem",
"hex",
"lockfile",
"rand 0.8.5",
"rand 0.9.2",
"tempfile",
"tree_hash",
"types",
@@ -10185,7 +10195,7 @@ dependencies = [
"lighthouse_version",
"logging",
"parking_lot 0.12.3",
"rand 0.8.5",
"rand 0.9.2",
"sensitive_url",
"serde",
"serde_json",