-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathCargo.toml
36 lines (31 loc) · 1.34 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[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", "--generate-link-to-definition"]
[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="<!-- 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/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