1[package]
2name = "anstyle-query"
3version = "1.0.2"
4description = "Look up colored console capabilities"
5repository = "https://github.com/rust-cli/anstyle"
6categories = ["command-line-interface"]
7keywords = ["cli", "color", "no-std", "terminal", "ansi"]
8license.workspace = true
9edition.workspace = true
10rust-version.workspace = true
11include.workspace = true
12
13[package.metadata.release]
14pre-release-replacements = [
15 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
16 {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
17 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
18 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
19 {file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD", exactly=1},
20]
21
22[target.'cfg(windows)'.dependencies]
23windows-sys = { version = "0.52.0", features = ["Win32_System_Console", "Win32_Foundation"] }
24