aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-14 01:36:15 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-14 01:36:15 +0800
commit5ac0f0e98d05e95f7e3c58995f8d79670cbac772 (patch)
treef6514b20775cb70d942ac30f4de62b70698220a2
parent8b2c209c2f111e0e208de5dde9df6c4bd3ea1052 (diff)
chore(deps): move mingling_picker_macros dependency to picker crate
-rw-r--r--Cargo.lock2
-rw-r--r--mingling/Cargo.toml4
-rw-r--r--mingling_picker/Cargo.toml1
3 files changed, 4 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5ca9565..f160c1d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -407,7 +407,6 @@ dependencies = [
"mingling_core",
"mingling_macros",
"mingling_picker",
- "mingling_picker_macros",
"serde",
"size",
"tokio",
@@ -467,6 +466,7 @@ name = "mingling_picker"
version = "0.3.0"
dependencies = [
"mingling_core",
+ "mingling_picker_macros",
]
[[package]]
diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml
index 667cfa5..1b5b926 100644
--- a/mingling/Cargo.toml
+++ b/mingling/Cargo.toml
@@ -27,6 +27,7 @@ features = [
"repl",
"comp",
"parser",
+ "picker",
"clap",
"extra_macros",
]
@@ -44,7 +45,7 @@ dispatch_tree = ["mingling_core/dispatch_tree", "mingling_macros/dispatch_tree"]
repl = ["mingling_core/repl", "mingling_macros/repl"]
comp = ["mingling_core/comp", "mingling_macros/comp"]
parser = ["dep:size"]
-picker = ["dep:mingling_picker", "dep:mingling_picker_macros"]
+picker = ["dep:mingling_picker"]
pathf = ["mingling_core/pathf", "mingling_macros/pathf"]
structural_renderer = [
@@ -85,6 +86,5 @@ extra_macros = ["mingling_macros/extra_macros"]
mingling_core.workspace = true
mingling_macros.workspace = true
mingling_picker = { workspace = true, optional = true }
-mingling_picker_macros = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
size = { version = "0.5", optional = true }
diff --git a/mingling_picker/Cargo.toml b/mingling_picker/Cargo.toml
index f992373..aae4d54 100644
--- a/mingling_picker/Cargo.toml
+++ b/mingling_picker/Cargo.toml
@@ -10,3 +10,4 @@ description = "Mingling's lightweight argument parser"
[dependencies]
mingling_core.workspace = true
+mingling_picker_macros.workspace = true