diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-24 16:46:37 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-24 16:46:37 +0800 |
| commit | 13699cfdccc901c2a7d53270f695384134ba2221 (patch) | |
| tree | d0ba0e2e863a6bd1c3da493801cb348245e4c495 | |
| parent | 36bcd051f29c8f94cbdf5e2d54f6ad6f85ab2f6b (diff) | |
Add extra_macros feature to mingling and mingling_macros
| -rw-r--r-- | mingling/Cargo.toml | 11 | ||||
| -rw-r--r-- | mingling_macros/Cargo.toml | 2 |
2 files changed, 12 insertions, 1 deletions
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 |
