1 | [package] |
2 | name = "anstyle-query" |
3 | version = "1.0.2" |
4 | description = "Look up colored console capabilities" |
5 | repository = "https://github.com/rust-cli/anstyle" |
6 | categories = ["command-line-interface" ] |
7 | keywords = ["cli" , "color" , "no-std" , "terminal" , "ansi" ] |
8 | license.workspace = true |
9 | edition.workspace = true |
10 | rust-version.workspace = true |
11 | include.workspace = true |
12 | |
13 | [package.metadata.release] |
14 | pre-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] |
23 | windows-sys = { version = "0.52.0" , features = ["Win32_System_Console" , "Win32_Foundation" ] } |
24 | |