mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 21:34:46 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
use crate::database::leveldb_impl;
|
||||
#[cfg(feature = "redb")]
|
||||
use crate::database::redb_impl;
|
||||
use crate::{config::DatabaseBackend, KeyValueStoreOp, StoreConfig};
|
||||
use crate::{metrics, ColumnIter, ColumnKeyIter, DBColumn, Error, ItemStore, Key, KeyValueStore};
|
||||
use crate::{ColumnIter, ColumnKeyIter, DBColumn, Error, ItemStore, Key, KeyValueStore, metrics};
|
||||
use crate::{KeyValueStoreOp, StoreConfig, config::DatabaseBackend};
|
||||
use std::collections::HashSet;
|
||||
use std::path::Path;
|
||||
use types::EthSpec;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
use crate::hot_cold_store::{BytesKey, HotColdDBError};
|
||||
use crate::Key;
|
||||
use crate::hot_cold_store::{BytesKey, HotColdDBError};
|
||||
use crate::{
|
||||
get_key_for_col, metrics, ColumnIter, ColumnKeyIter, DBColumn, Error, KeyValueStoreOp,
|
||||
ColumnIter, ColumnKeyIter, DBColumn, Error, KeyValueStoreOp, get_key_for_col, metrics,
|
||||
};
|
||||
use leveldb::{
|
||||
compaction::Compaction,
|
||||
database::{
|
||||
Database,
|
||||
batch::{Batch, Writebatch},
|
||||
kv::KV,
|
||||
Database,
|
||||
},
|
||||
iterator::{Iterable, LevelDBIterator},
|
||||
options::{Options, ReadOptions},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use crate::{metrics, ColumnIter, ColumnKeyIter, Key};
|
||||
use crate::{ColumnIter, ColumnKeyIter, Key, metrics};
|
||||
use crate::{DBColumn, Error, KeyValueStoreOp};
|
||||
use parking_lot::RwLock;
|
||||
use redb::TableDefinition;
|
||||
|
||||
Reference in New Issue
Block a user