mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: no-std consensus common (#13686)
This commit is contained in:
@ -26,3 +26,14 @@ alloy-eips.workspace = true
|
||||
alloy-consensus.workspace = true
|
||||
rand.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"alloy-consensus/std",
|
||||
"alloy-eips/std",
|
||||
"alloy-primitives/std",
|
||||
"reth-chainspec/std",
|
||||
"reth-consensus/std",
|
||||
"reth-primitives/std",
|
||||
"reth-primitives-traits/std"
|
||||
]
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
)]
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
/// Collection of consensus validation methods.
|
||||
pub mod validation;
|
||||
|
||||
Reference in New Issue
Block a user