replace thiserror-no-std with thiserror (#12432)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Steven
2024-11-29 03:41:39 -06:00
committed by GitHub
parent 88bde87f70
commit 37dca23402
6 changed files with 51 additions and 73 deletions

View File

@ -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",

View File

@ -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(