| [package] |
| name = "clap_complete" |
| version = "4.5.46" |
| description = "Generate shell completion scripts for your clap::Command" |
| categories = ["command-line-interface"] |
| keywords = [ |
| "clap", |
| "cli", |
| "completion", |
| "bash", |
| ] |
| repository.workspace = true |
| license.workspace = true |
| edition.workspace = true |
| rust-version.workspace = true |
| include.workspace = true |
| |
| [package.metadata.docs.rs] |
| features = ["unstable-doc"] |
| rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] |
| cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] |
| |
| [package.metadata.release] |
| pre-release-replacements = [ |
| {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, |
| {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, |
| {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, |
| {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1}, |
| {file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/clap-rs/clap/compare/{{tag_name}}...HEAD", exactly=1}, |
| {file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/blob/{{tag_name}}/", exactly=4, prerelease = true}, |
| ] |
| |
| [lib] |
| bench = false |
| |
| [dependencies] |
| clap = { path = "../", version = "4.5.20", default-features = false, features = ["std"] } |
| clap_lex = { path = "../clap_lex", version = "0.7.0", optional = true } |
| is_executable = { version = "1.0.1", optional = true } |
| shlex = { version = "1.3.0", optional = true } |
| completest = { version = "0.4.2", optional = true } |
| completest-pty = { version = "0.5.5", optional = true } |
| |
| [dev-dependencies] |
| snapbox = { version = "0.6.0", features = ["diff", "dir", "examples"] } |
| # Cutting out `filesystem` feature |
| trycmd = { version = "0.15.1", default-features = false, features = ["color-auto", "diff", "examples"] } |
| clap = { path = "../", version = "4.5.20", default-features = false, features = ["std", "derive", "help"] } |
| automod = "1.0.14" |
| |
| [[example]] |
| name = "dynamic" |
| required-features = ["unstable-dynamic"] |
| |
| [features] |
| default = [] |
| unstable-doc = ["unstable-dynamic"] # for docs.rs |
| unstable-dynamic = ["dep:clap_lex", "dep:shlex", "dep:is_executable", "clap/unstable-ext"] |
| unstable-shell-tests = ["dep:completest", "dep:completest-pty"] |
| debug = ["clap/debug"] |
| |
| [lints] |
| workspace = true |