summaryrefslogtreecommitdiff
path: root/mingling/src/any.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-29 17:20:34 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-29 17:22:56 +0800
commit1f98228447171b7a65d5fd47f9e989cc55cf7283 (patch)
tree107c0938f20e70ffac413e94c76dc50a7ad29f6b /mingling/src/any.rs
parentaa9b84a35816e7a119707a4be7a2f19a0160ee44 (diff)
Add `full` feature and rename `serde_renderer` to `general_renderer`
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,