[package] name = "clap_complete" version = "3.1.4" edition = "2018" include = [ "build.rs", "src/**/*", "Cargo.toml", "LICENSE*", "README.md", "benches/**/*", "examples/**/*" ] 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" keywords = [ "clap", "cli", "completion", "bash", ] categories = ["command-line-interface"] license = "MIT OR Apache-2.0" readme = "README.md" [package.metadata.release] pre-release-replacements = [ {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="", replace="\n## [Unreleased] - ReleaseDate\n", exactly=1}, {file="CHANGELOG.md", search="", replace="\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] clap = { path = "../", version = "3.1.10", default-features = false, features = ["std"] } clap_lex = { path = "../clap_lex", version = "0.2.0", optional = true } is_executable = { version = "1.0.1", optional = true } os_str_bytes = { version = "6.0", default-features = false, features = ["raw_os_str"], 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] pretty_assertions = "1.0" snapbox = { version = "0.2", features = ["diff"] } # Cutting out `filesystem` feature trycmd = { version = "0.13", default-features = false, features = ["color-auto", "diff", "examples"] } clap = { path = "../", version = "3.1.10", default-features = false, features = ["std", "derive"] } [[example]] name = "dynamic" required-features = ["unstable-dynamic"] [features] default = [] unstable-dynamic = ["clap_lex", "shlex", "unicode-xid", "os_str_bytes", "clap/derive", "is_executable", "pathdiff"] debug = ["clap/debug"] [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"]