From 13699cfdccc901c2a7d53270f695384134ba2221 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 24 May 2026 16:46:37 +0800 Subject: Add extra_macros feature to mingling and mingling_macros --- mingling/Cargo.toml | 11 ++++++++++- mingling_macros/Cargo.toml | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml index 83ca647..9b8183d 100644 --- a/mingling/Cargo.toml +++ b/mingling/Cargo.toml @@ -21,7 +21,14 @@ mingling = { path = ".", features = [ ] } [package.metadata.docs.rs] -features = ["builds", "general_renderer", "repl", "comp", "parser"] +features = [ + "builds", + "general_renderer", + "repl", + "comp", + "parser", + "extra_macros", +] [features] nightly = ["mingling_core/nightly", "mingling_macros/nightly"] @@ -69,6 +76,8 @@ yaml_serde_fmt = ["mingling_core/yaml_serde_fmt"] toml_serde_fmt = ["mingling_core/toml_serde_fmt"] ron_serde_fmt = ["mingling_core/ron_serde_fmt"] +extra_macros = ["mingling_macros/extra_macros"] + [dependencies] mingling_core = { path = "../mingling_core", default-features = false } mingling_macros = { path = "../mingling_macros", default-features = false } diff --git a/mingling_macros/Cargo.toml b/mingling_macros/Cargo.toml index 4f2b094..4fc5c75 100644 --- a/mingling_macros/Cargo.toml +++ b/mingling_macros/Cargo.toml @@ -20,6 +20,8 @@ dispatch_tree = [] general_renderer = [] repl = [] +extra_macros = [] + [dependencies] syn.workspace = true quote.workspace = true -- cgit