clap/clap_complete/Cargo.toml

57 lines
2.2 KiB
TOML
Raw Normal View History

[package]
name = "clap_complete"
2023-07-05 15:38:09 +00:00
version = "4.3.2"
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"
categories = ["command-line-interface"]
keywords = [
"clap",
"cli",
"completion",
"bash",
]
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]
targets = ["x86_64-unknown-linux-gnu"]
[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},
{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]
2023-01-13 15:24:37 +00:00
clap = { path = "../", version = "4.1.0", default-features = false, features = ["std"] }
2023-05-19 16:48:29 +00:00
clap_lex = { path = "../clap_lex", version = "0.5.0", optional = true }
is_executable = { version = "1.0.1", optional = true }
pathdiff = { version = "0.2.1", optional = true }
shlex = { version = "1.1.0", optional = true }
unicode-xid = { version = "0.2.2", optional = true }
[dev-dependencies]
2023-07-20 02:54:00 +00:00
snapbox = { version = "0.4.11", features = ["diff", "examples"] }
# Cutting out `filesystem` feature
2023-06-01 00:38:25 +00:00
trycmd = { version = "0.14.16", default-features = false, features = ["color-auto", "diff", "examples"] }
completest = "0.0.4"
2022-10-18 19:36:44 +00:00
clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "derive", "help"] }
[[example]]
name = "dynamic"
required-features = ["unstable-dynamic"]
[features]
default = []
unstable-dynamic = ["dep:clap_lex", "dep:shlex", "dep:unicode-xid", "clap/derive", "dep:is_executable", "dep:pathdiff"]
debug = ["clap/debug"]