mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 05:18:30 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user