feat: Add no-std support to reth-chainspec (#8939)

This commit is contained in:
0xAtreides
2024-06-18 22:35:34 +01:00
committed by GitHub
parent 1557b7b570
commit 450f06aea1

View File

@ -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)]
pub use alloy_chains::{Chain, ChainKind, NamedChain};
pub use info::ChainInfo;
@ -17,6 +18,9 @@ pub use spec::{
#[cfg(feature = "optimism")]
pub use spec::{BASE_MAINNET, BASE_SEPOLIA, OP_MAINNET, OP_SEPOLIA};
#[cfg(not(feature = "std"))]
extern crate alloc;
// /// The config info module namely spec id.
// pub mod config;
/// The chain info module.