From 1f98228447171b7a65d5fd47f9e989cc55cf7283 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 29 Mar 2026 17:20:34 +0800 Subject: Add `full` feature and rename `serde_renderer` to `general_renderer` --- mingling/src/any.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mingling/src/any.rs') 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(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(value: T) -> Self where T: Send + 'static, -- cgit