mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm Once-cell dep (#14141)
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -7443,7 +7443,6 @@ dependencies = [
|
||||
"bincode",
|
||||
"derive_more",
|
||||
"modular-bitfield",
|
||||
"once_cell",
|
||||
"proptest",
|
||||
"proptest-arbitrary-interop",
|
||||
"rand 0.8.5",
|
||||
|
||||
@ -31,7 +31,6 @@ revm-primitives.workspace = true
|
||||
arbitrary = { workspace = true, optional = true, features = ["derive"] }
|
||||
derive_more.workspace = true
|
||||
modular-bitfield = { workspace = true, optional = true }
|
||||
once_cell.workspace = true
|
||||
rand = { workspace = true, optional = true }
|
||||
secp256k1 = { workspace = true, optional = true, features = ["rand"] }
|
||||
serde.workspace = true
|
||||
@ -66,7 +65,6 @@ std = [
|
||||
"alloy-eips/std",
|
||||
"derive_more/std",
|
||||
"secp256k1?/std",
|
||||
"once_cell/std",
|
||||
"revm-primitives/std",
|
||||
"alloy-serde?/std",
|
||||
]
|
||||
|
||||
@ -15,18 +15,14 @@ use alloy_primitives::{
|
||||
};
|
||||
use alloy_rlp::{Decodable, Encodable};
|
||||
use core::hash::{Hash, Hasher};
|
||||
use once_cell as _;
|
||||
#[cfg(not(feature = "std"))]
|
||||
use once_cell::sync::OnceCell as OnceLock;
|
||||
use reth_primitives_traits::{
|
||||
crypto::secp256k1::{recover_signer, recover_signer_unchecked},
|
||||
sync::OnceLock,
|
||||
transaction::{error::TransactionConversionError, signed::RecoveryError},
|
||||
FillTxEnv, InMemorySize, SignedTransaction,
|
||||
};
|
||||
use revm_primitives::{AuthorizationList, TxEnv};
|
||||
use serde::{Deserialize, Serialize};
|
||||
#[cfg(feature = "std")]
|
||||
use std::sync::OnceLock;
|
||||
|
||||
macro_rules! delegate {
|
||||
($self:expr => $tx:ident.$method:ident($($arg:expr),*)) => {
|
||||
|
||||
Reference in New Issue
Block a user