diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-23 23:41:04 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-23 23:49:34 +0800 |
| commit | 0a2ef958c0dca21d19e4ffc38ba5a7c4078e182a (patch) | |
| tree | c82fc4242ed393b132ba514eb434d722e7d9c387 /examples/example-completion/Cargo.toml | |
| parent | ccab1940c019dfbfb7dfcbbe4cb927258933755f (diff) | |
Rework examples and add entry macro for testing
Diffstat (limited to 'examples/example-completion/Cargo.toml')
| -rw-r--r-- | examples/example-completion/Cargo.toml | 24 |
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", +] |
