aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/features.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-05-16 00:07:59 +0800
committer魏曹先生 <1992414357@qq.com>2026-05-16 00:09:55 +0800
commita127d6f3cf2741d4dc404959c5481fa61651e133 (patch)
treeec82ed1260e5a3d5744f2181b79d21ffb65e54e8 /mingling/src/features.rs
parentaae29170dc7ae7a8976699c4d1f7011f9f238a06 (diff)
Refactor general_renderer into granular format-specific features
Diffstat (limited to 'mingling/src/features.rs')
-rw-r--r--mingling/src/features.rs24
1 files changed, 24 insertions, 0 deletions
diff --git a/mingling/src/features.rs b/mingling/src/features.rs
index d75f926..7d78012 100644
--- a/mingling/src/features.rs
+++ b/mingling/src/features.rs
@@ -51,3 +51,27 @@ pub const MINGLING_PARSER: bool = false;
#[cfg(feature = "parser")]
pub const MINGLING_PARSER: bool = true;
+
+#[cfg(not(feature = "json_serde_fmt"))]
+pub const MINGLING_JSON_SERDE_FMT: bool = false;
+
+#[cfg(feature = "json_serde_fmt")]
+pub const MINGLING_JSON_SERDE_FMT: bool = true;
+
+#[cfg(not(feature = "yaml_serde_fmt"))]
+pub const MINGLING_YAML_SERDE_FMT: bool = false;
+
+#[cfg(feature = "yaml_serde_fmt")]
+pub const MINGLING_YAML_SERDE_FMT: bool = true;
+
+#[cfg(not(feature = "toml_serde_fmt"))]
+pub const MINGLING_TOML_SERDE_FMT: bool = false;
+
+#[cfg(feature = "toml_serde_fmt")]
+pub const MINGLING_TOML_SERDE_FMT: bool = true;
+
+#[cfg(not(feature = "ron_serde_fmt"))]
+pub const MINGLING_RON_SERDE_FMT: bool = false;
+
+#[cfg(feature = "ron_serde_fmt")]
+pub const MINGLING_RON_SERDE_FMT: bool = true;