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