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

View File

@@ -1,6 +1,6 @@
pub use clap::{Arg, ArgAction, Args, Command, FromArgMatches, Parser};
use clap_utils::get_color_style;
use clap_utils::FLAG_HEADER;
use clap_utils::get_color_style;
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
use store::hdiff::HierarchyConfig;

View File

@@ -5,7 +5,7 @@ use crate::cli::PruneStates;
use beacon_chain::{
builder::Witness, schema_change::migrate_schema, slot_clock::SystemTimeSlotClock,
};
use beacon_node::{get_data_dir, ClientConfig};
use beacon_node::{ClientConfig, get_data_dir};
use clap::ArgMatches;
use clap::ValueEnum;
use cli::{Compact, Inspect};
@@ -16,10 +16,10 @@ use std::io::Write;
use std::path::PathBuf;
use store::KeyValueStore;
use store::{
DBColumn, HotColdDB,
database::interface::BeaconNodeBackend,
errors::Error,
metadata::{SchemaVersion, CURRENT_SCHEMA_VERSION},
DBColumn, HotColdDB,
metadata::{CURRENT_SCHEMA_VERSION, SchemaVersion},
};
use strum::{EnumString, EnumVariantNames};
use tracing::{info, warn};