2021-12-31 17:59:15 +00:00
|
|
|
[package]
|
|
|
|
name = "clap_complete"
|
2022-05-06 14:39:24 +00:00
|
|
|
version = "3.1.4"
|
2022-05-18 15:33:37 +00:00
|
|
|
description = "Generate shell completion scripts for your clap::Command"
|
|
|
|
repository = "https://github.com/clap-rs/clap/tree/master/clap_complete"
|
|
|
|
documentation = "https://docs.rs/clap_complete"
|
|
|
|
categories = ["command-line-interface"]
|
|
|
|
keywords = [
|
|
|
|
"clap",
|
|
|
|
"cli",
|
|
|
|
"completion",
|
|
|
|
"bash",
|
|
|
|
]
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "README.md"
|
2022-05-18 15:35:30 +00:00
|
|
|
edition = "2021"
|
2022-05-18 15:33:37 +00:00
|
|
|
rust-version = "1.56.0" # MSRV
|
2021-12-31 17:59:15 +00:00
|
|
|
include = [
|
2022-04-30 11:37:57 +00:00
|
|
|
"build.rs",
|
|
|
|
"src/**/*",
|
|
|
|
"Cargo.toml",
|
|
|
|
"LICENSE*",
|
|
|
|
"README.md",
|
|
|
|
"benches/**/*",
|
|
|
|
"examples/**/*"
|
2021-12-31 17:59:15 +00:00
|
|
|
]
|
2022-05-18 15:33:37 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
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]
|
2022-04-19 15:31:52 +00:00
|
|
|
clap = { path = "../", version = "3.1.10", default-features = false, features = ["std"] }
|
2022-04-30 11:35:57 +00:00
|
|
|
clap_lex = { path = "../clap_lex", version = "0.2.0", optional = true }
|
2022-04-15 21:08:11 +00:00
|
|
|
is_executable = { version = "1.0.1", optional = true }
|
|
|
|
os_str_bytes = { version = "6.0", default-features = false, features = ["raw_os_str"], 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]
|
|
|
|
pretty_assertions = "1.0"
|
2022-03-07 20:03:46 +00:00
|
|
|
snapbox = { version = "0.2", features = ["diff"] }
|
2022-04-27 13:54:39 +00:00
|
|
|
# Cutting out `filesystem` feature
|
|
|
|
trycmd = { version = "0.13", default-features = false, features = ["color-auto", "diff", "examples"] }
|
2022-04-19 15:31:52 +00:00
|
|
|
clap = { path = "../", version = "3.1.10", default-features = false, features = ["std", "derive"] }
|
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 = []
|
2022-04-27 19:19:35 +00:00
|
|
|
unstable-dynamic = ["clap_lex", "shlex", "unicode-xid", "os_str_bytes", "clap/derive", "is_executable", "pathdiff"]
|
2021-12-31 17:59:15 +00:00
|
|
|
debug = ["clap/debug"]
|