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