Skip to content

Commit

Permalink
Take macros out of testing feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahVlasov committed Dec 4, 2023
1 parent 08e90fd commit 02cd7ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ impl Debug for PatriciaKey {
}

/// A utility macro to create a [`PatriciaKey`] from a hex string / unsigned integer representation.
#[cfg(any(feature = "testing", test))]
#[macro_export]
macro_rules! patricia_key {
($s:expr) => {
Expand All @@ -225,7 +224,6 @@ macro_rules! patricia_key {
}

/// A utility macro to create a [`ClassHash`] from a hex string / unsigned integer representation.
#[cfg(any(feature = "testing", test))]
#[macro_export]
macro_rules! class_hash {
($s:expr) => {
Expand All @@ -235,7 +233,6 @@ macro_rules! class_hash {

/// A utility macro to create a [`ContractAddress`] from a hex string / unsigned integer
/// representation.
#[cfg(any(feature = "testing", test))]
#[macro_export]
macro_rules! contract_address {
($s:expr) => {
Expand Down
1 change: 0 additions & 1 deletion src/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ impl Display for StarkFelt {
}

/// A utility macro to create a [`StarkFelt`] from a hex string representation.
#[cfg(any(feature = "testing", test))]
#[macro_export]
macro_rules! stark_felt {
($s:expr) => {
Expand Down

0 comments on commit 02cd7ef

Please sign in to comment.