[package] name = "colorchoice-clap" version = "1.0.6" description = "Clap mixin to override console colors" categories = ["command-line-interface"] keywords = ["clap", "cli", "color", "terminal", "ansi"] repository.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true include.workspace = true [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [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/rust-cli/anstyle/compare/{{tag_name}}...HEAD", exactly=1}, ] [dependencies] colorchoice = { version = "1.0.0", path = "../colorchoice", default-features = false } clap = { version = "4.3.5", default-features = false, features = ["std", "derive", "color"] } [dev-dependencies] anstream = { path = "../anstream" } clap = "4.3.5" owo-colors = "4.0.0" [lints] workspace = true