aboutsummaryrefslogtreecommitdiff
path: root/examples/example-completion/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-completion/Cargo.toml')
-rw-r--r--examples/example-completion/Cargo.toml24
1 files changed, 21 insertions, 3 deletions
diff --git a/examples/example-completion/Cargo.toml b/examples/example-completion/Cargo.toml
index 6a76d1f..4e1881a 100644
--- a/examples/example-completion/Cargo.toml
+++ b/examples/example-completion/Cargo.toml
@@ -1,7 +1,25 @@
[package]
name = "example-completion"
-version = "0.0.1"
+version = "0.1.0"
edition = "2024"
-[dependencies]
-mingling = { path = "../../mingling", features = ["comp", "parser"] }
+[dependencies.mingling]
+path = "../../mingling"
+
+features = [
+ # Enable `comp` features
+ "comp",
+ "parser",
+]
+
+[build-dependencies.mingling]
+path = "../../mingling"
+
+features = [
+ # Enable `comp` features
+ "comp",
+
+ # If you want to build completion scripts,
+ # enable `builds` features
+ "builds",
+]