summaryrefslogtreecommitdiff
path: root/mingling/src/any.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/any.rs')
-rw-r--r--mingling/src/any.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mingling/src/any.rs b/mingling/src/any.rs
index 5ff8cfe..204a7e3 100644
--- a/mingling/src/any.rs
+++ b/mingling/src/any.rs
@@ -1,4 +1,4 @@
-#[cfg(feature = "serde_renderer")]
+#[cfg(feature = "general_renderer")]
use serde::Serialize;
use crate::error::ChainProcessError;
@@ -12,7 +12,7 @@ pub struct AnyOutput {
}
impl AnyOutput {
- #[cfg(feature = "serde_renderer")]
+ #[cfg(feature = "general_renderer")]
pub fn new<T>(value: T) -> Self
where
T: Send + Serialize + 'static,
@@ -23,7 +23,7 @@ impl AnyOutput {
}
}
- #[cfg(not(feature = "serde_renderer"))]
+ #[cfg(not(feature = "general_renderer"))]
pub fn new<T>(value: T) -> Self
where
T: Send + 'static,