• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "clap_complete"
3version = "4.1.1"
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]
19targets = ["x86_64-unknown-linux-gnu"]
20
21[package.metadata.release]
22pre-release-replacements = [
23  {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
24  {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
25  {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
26  {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
27  {file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/clap-rs/clap/compare/{{tag_name}}...HEAD", exactly=1},
28  {file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/blob/{{tag_name}}/", exactly=4, prerelease = true},
29]
30
31[lib]
32bench = false
33
34[dependencies]
35clap = { path = "../", version = "4.1.0", default-features = false, features = ["std"] }
36clap_lex = { path = "../clap_lex", version = "0.3.0", optional = true }
37is_executable = { version = "1.0.1", optional = true }
38os_str_bytes = { version = "6.0", default-features = false, features = ["raw_os_str"], optional = true }
39pathdiff = { version = "0.2.1", optional = true }
40shlex = { version = "1.1.0", optional = true }
41unicode-xid = { version = "0.2.2", optional = true }
42
43[dev-dependencies]
44snapbox = { version = "0.4", features = ["diff"] }
45# Cutting out `filesystem` feature
46trycmd = { version = "0.14.6", default-features = false, features = ["color-auto", "diff", "examples"] }
47clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "derive", "help"] }
48
49[[example]]
50name = "dynamic"
51required-features = ["unstable-dynamic"]
52
53[features]
54default = []
55unstable-dynamic = ["dep:clap_lex", "dep:shlex", "dep:unicode-xid", "dep:os_str_bytes", "clap/derive", "dep:is_executable", "dep:pathdiff"]
56debug = ["clap/debug"]
57