From 6a374abda479fed19ef10c324b9a91e3015a53a3 Mon Sep 17 00:00:00 2001 From: Jovansonlee Cesar Date: Sun, 2 Jun 2024 13:09:12 +0800 Subject: [PATCH] add cfg feature for sauron_macro functions --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 7fae66c0..7ad5d8f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -33,7 +33,9 @@ pub mod prelude { pub use sauron_core::prelude::*; pub use sauron_core::*; + #[cfg(feature = "sauron-macro")] pub use sauron_macro::extract_skip_diff; + #[cfg(feature = "sauron-macro")] pub use sauron_macro::view; #[cfg(feature = "with-node-macro")]