Move reth-primitives::fs module to fs-utils crate (#8286)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Serge Radinovich
2024-05-17 20:31:31 +12:00
committed by GitHub
parent b177c29f93
commit 9441d984ae
39 changed files with 142 additions and 65 deletions

View File

@ -12,6 +12,7 @@ workspace = true
[dependencies]
reth-primitives.workspace = true
reth-fs-util.workspace = true
http.workspace = true
hyper.workspace = true

View File

@ -1,10 +1,7 @@
use jsonwebtoken::{decode, errors::ErrorKind, Algorithm, DecodingKey, Validation};
use rand::Rng;
use reth_primitives::{
fs,
fs::FsPathError,
hex::{self, encode as hex_encode},
};
use reth_fs_util::{self as fs, FsPathError};
use reth_primitives::hex::{self, encode as hex_encode};
use serde::{Deserialize, Serialize};
use std::{
path::Path,