2021-12-31 17:59:15 +00:00
|
|
|
[package]
|
|
|
|
name = "clap_complete"
|
2024-07-11 01:34:37 +00:00
|
|
|
version = "4.5.8"
|
2022-05-18 15:33:37 +00:00
|
|
|
description = "Generate shell completion scripts for your clap::Command"
|
|
|
|
categories = ["command-line-interface"]
|
|
|
|
keywords = [
|
|
|
|
"clap",
|
|
|
|
"cli",
|
|
|
|
"completion",
|
|
|
|
"bash",
|
|
|
|
]
|
2024-06-04 20:36:17 +00:00
|
|
|
repository.workspace = true
|
2023-01-09 18:35:54 +00:00
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
include.workspace = true
|
2022-05-18 15:33:37 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2023-12-27 17:30:42 +00:00
|
|
|
features = ["unstable-doc"]
|
|
|
|
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
|
|
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
2021-12-31 17:59:15 +00:00
|
|
|
|
|
|
|
[package.metadata.release]
|
|
|
|
pre-release-replacements = [
|
2022-01-12 17:04:57 +00:00
|
|
|
{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},
|
2021-12-31 17:59:15 +00:00
|
|
|
{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]
|
2024-06-06 21:37:19 +00:00
|
|
|
clap = { path = "../", version = "4.5.6", default-features = false, features = ["std"] }
|
2024-02-08 16:33:13 +00:00
|
|
|
clap_lex = { path = "../clap_lex", version = "0.7.0", optional = true }
|
2022-04-15 21:08:11 +00:00
|
|
|
is_executable = { version = "1.0.1", optional = true }
|
2022-04-27 19:19:35 +00:00
|
|
|
pathdiff = { version = "0.2.1", optional = true }
|
2022-04-15 21:08:11 +00:00
|
|
|
shlex = { version = "1.1.0", optional = true }
|
|
|
|
unicode-xid = { version = "0.2.2", optional = true }
|
2021-12-31 17:59:15 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-05-24 15:13:50 +00:00
|
|
|
snapbox = { version = "0.6.0", features = ["diff", "dir", "examples"] }
|
2022-04-27 13:54:39 +00:00
|
|
|
# Cutting out `filesystem` feature
|
2024-05-01 01:04:57 +00:00
|
|
|
trycmd = { version = "0.15.1", default-features = false, features = ["color-auto", "diff", "examples"] }
|
2024-06-29 19:14:29 +00:00
|
|
|
completest = "0.4.1"
|
|
|
|
completest-pty = "0.5.2"
|
2022-10-18 19:36:44 +00:00
|
|
|
clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "derive", "help"] }
|
2024-05-04 19:59:40 +00:00
|
|
|
automod = "1.0.14"
|
2021-12-31 17:59:15 +00:00
|
|
|
|
2022-04-15 21:08:11 +00:00
|
|
|
[[example]]
|
|
|
|
name = "dynamic"
|
|
|
|
required-features = ["unstable-dynamic"]
|
|
|
|
|
2021-12-31 17:59:15 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2023-12-27 17:30:42 +00:00
|
|
|
unstable-doc = ["unstable-dynamic"] # for docs.rs
|
2023-03-25 06:59:24 +00:00
|
|
|
unstable-dynamic = ["dep:clap_lex", "dep:shlex", "dep:unicode-xid", "clap/derive", "dep:is_executable", "dep:pathdiff"]
|
2021-12-31 17:59:15 +00:00
|
|
|
debug = ["clap/debug"]
|
2024-05-04 19:59:40 +00:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|