| 1 |
[package] |
| 2 |
name = "clap_complete" |
| 3 |
version = "4.5.65" |
| 4 |
description = "Generate shell completion scripts for your clap::Command" |
| 5 |
categories = ["command-line-interface"] |
| 6 |
keywords = [ |
| 7 |
"clap", |
| 8 |
"cli", |
| 9 |
"completion", |
| 10 |
"bash", |
| 11 |
] |
| 12 |
repository.workspace = true |
| 13 |
license.workspace = true |
| 14 |
edition.workspace = true |
| 15 |
rust-version.workspace = true |
| 16 |
include.workspace = true |
| 17 |
|
| 18 |
[package.metadata.docs.rs] |
| 19 |
features = ["unstable-doc"] |
| 20 |
rustdoc-args = ["--generate-link-to-definition"] |
| 21 |
|
| 22 |
[package.metadata.release] |
| 23 |
pre-release-replacements = [ |
| 24 |
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, |
| 25 |
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, |
| 26 |
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, |
| 27 |
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1}, |
| 28 |
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/clap-rs/clap/compare/{{tag_name}}...HEAD", exactly=1}, |
| 29 |
{file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/blob/{{tag_name}}/", exactly=4, prerelease = true}, |
| 30 |
] |
| 31 |
|
| 32 |
[lib] |
| 33 |
bench = false |
| 34 |
|
| 35 |
[dependencies] |
| 36 |
clap = { path = "../", version = "4.5.20", default-features = false, features = ["std"] } |
| 37 |
clap_lex = { path = "../clap_lex", version = "0.7.0", optional = true } |
| 38 |
is_executable = { version = "1.0.1", optional = true } |
| 39 |
shlex = { version = "1.3.0", optional = true } |
| 40 |
completest = { version = "0.4.2", optional = true } |
| 41 |
completest-pty = { version = "0.5.5", optional = true } |
| 42 |
|
| 43 |
[dev-dependencies] |
| 44 |
snapbox = { version = "0.6.0", features = ["diff", "dir", "examples"] } |
| 45 |
# Cutting out `filesystem` feature |
| 46 |
trycmd = { version = "0.15.1", default-features = false, features = ["color-auto", "diff", "examples"] } |
| 47 |
clap = { path = "../", version = "4.5.20", default-features = false, features = ["std", "derive", "help"] } |
| 48 |
automod = "1.0.14" |
| 49 |
|
| 50 |
[[example]] |
| 51 |
name = "dynamic" |
| 52 |
required-features = ["unstable-dynamic"] |
| 53 |
|
| 54 |
[features] |
| 55 |
default = [] |
| 56 |
unstable-doc = ["unstable-dynamic"] # for docs.rs |
| 57 |
unstable-dynamic = ["dep:clap_lex", "dep:shlex", "dep:is_executable", "clap/unstable-ext"] |
| 58 |
unstable-shell-tests = ["dep:completest", "dep:completest-pty"] |
| 59 |
debug = ["clap/debug"] |
| 60 |
|
| 61 |
[lints] |
| 62 |
workspace = true |