mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
replace thiserror-no-std with thiserror (#12432)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -23,7 +23,7 @@ crc = "3"
|
||||
|
||||
# misc
|
||||
serde = { workspace = true, features = ["derive"], optional = true }
|
||||
thiserror-no-std = { workspace = true, default-features = false }
|
||||
thiserror.workspace = true
|
||||
dyn-clone.workspace = true
|
||||
rustc-hash = { workspace = true, optional = true }
|
||||
|
||||
@ -56,7 +56,7 @@ serde = [
|
||||
std = [
|
||||
"alloy-chains/std",
|
||||
"alloy-primitives/std",
|
||||
"thiserror-no-std/std",
|
||||
"thiserror/std",
|
||||
"rustc-hash/std",
|
||||
"alloy-consensus/std",
|
||||
"once_cell/std",
|
||||
|
||||
@ -176,7 +176,7 @@ impl From<EnrForkIdEntry> for ForkId {
|
||||
}
|
||||
|
||||
/// Reason for rejecting provided `ForkId`.
|
||||
#[derive(Clone, Copy, Debug, thiserror_no_std::Error, PartialEq, Eq, Hash)]
|
||||
#[derive(Clone, Copy, Debug, thiserror::Error, PartialEq, Eq, Hash)]
|
||||
pub enum ValidationError {
|
||||
/// Remote node is outdated and needs a software update.
|
||||
#[error(
|
||||
|
||||
Reference in New Issue
Block a user