diff --git a/constants/Cargo.toml b/constants/Cargo.toml index c5b35e7..c94fc91 100644 --- a/constants/Cargo.toml +++ b/constants/Cargo.toml @@ -22,7 +22,6 @@ hex-literal = { workspace = true, optional = true } paste = { workspace = true, optional = true } [dev-dependencies] -monero-serai = { workspace = true } hex = { workspace = true, features = ["std"] } pretty_assertions = { workspace = true } diff --git a/constants/src/genesis.rs b/constants/src/genesis.rs index 5f7a945..6b12aec 100644 --- a/constants/src/genesis.rs +++ b/constants/src/genesis.rs @@ -18,13 +18,10 @@ macro_rules! generate_genesis_consts { $( #[doc = concat!(stringify!([<$network:camel>]), " data.")] pub mod [<$network:lower>] { - #[cfg(feature = "monero-serai")] use monero_serai::{block::Block, transaction::Transaction}; - #[cfg(feature = "monero-serai")] use std::sync::LazyLock; #[doc = concat!("The ", stringify!([<$network:lower>]), " genesis block in [`Block`] form.")] - #[cfg(feature = "monero-serai")] pub static GENESIS_BLOCK: LazyLock = LazyLock::new(|| Block::read(&mut GENESIS_BLOCK_BYTES).unwrap()); @@ -41,7 +38,6 @@ macro_rules! generate_genesis_consts { pub const GENESIS_BLOCK_HASH_BYTES: [u8; 32] = hex_literal::hex!($block_hash); #[doc = concat!("The ", stringify!([<$network:lower>]), " genesis block in [`Transaction`] form.")] - #[cfg(feature = "monero-serai")] pub static GENESIS_TX: LazyLock = LazyLock::new(|| Transaction::read(&mut GENESIS_TX_BYTES).unwrap()); diff --git a/constants/src/lib.rs b/constants/src/lib.rs index 1d08a93..9ef6dd3 100644 --- a/constants/src/lib.rs +++ b/constants/src/lib.rs @@ -5,7 +5,6 @@ cfg_if::cfg_if! { // Used in test modules. if #[cfg(test)] { use hex as _; - use monero_serai as _; use pretty_assertions as _; } }