summaryrefslogtreecommitdiff
path: root/mingling_macros/src/pack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_macros/src/pack.rs')
-rw-r--r--mingling_macros/src/pack.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mingling_macros/src/pack.rs b/mingling_macros/src/pack.rs
index c6a6c67..a84010e 100644
--- a/mingling_macros/src/pack.rs
+++ b/mingling_macros/src/pack.rs
@@ -77,7 +77,7 @@ pub fn pack(input: TokenStream) -> TokenStream {
};
// Generate the struct definition
- #[cfg(not(feature = "serde"))]
+ #[cfg(not(feature = "general_renderer"))]
let struct_def = quote! {
#[derive(Debug)]
pub struct #type_name {
@@ -85,7 +85,7 @@ pub fn pack(input: TokenStream) -> TokenStream {
}
};
- #[cfg(feature = "serde")]
+ #[cfg(feature = "general_renderer")]
let struct_def = quote! {
#[derive(Debug, serde::Serialize)]
pub struct #type_name {