aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-11 16:50:57 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-11 16:50:57 +0800
commit58ef8a8f42a68c7a81118ef9120705730ce3f458 (patch)
tree80f302b07f011d2e636f5f8d3ec815fe6a4dafab /mingling_core/Cargo.toml
parent839326946560166da84c04d4770385795d96cff0 (diff)
Add shell completion script generation feature
Diffstat (limited to 'mingling_core/Cargo.toml')
-rw-r--r--mingling_core/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/mingling_core/Cargo.toml b/mingling_core/Cargo.toml
index ef0ea5d..0d4baaa 100644
--- a/mingling_core/Cargo.toml
+++ b/mingling_core/Cargo.toml
@@ -9,7 +9,7 @@ repository = "https://github.com/catilgrass/mingling"
[features]
default = []
full = ["comp", "general_renderer"]
-comp = []
+comp = ["dep:just_template"]
general_renderer = [
"dep:serde",
"dep:ron",
@@ -20,6 +20,7 @@ general_renderer = [
[dependencies]
just_fmt = "0.1.2"
+just_template = { version = "0.1.3", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
thiserror = "2"
tokio = { version = "1", features = ["io-std", "io-util"] }