1 | [package] |
2 | name = "anstyle-parse" |
3 | version = "0.2.3" |
4 | description = "Parse ANSI Style Escapes" |
5 | repository = "https://github.com/rust-cli/anstyle.git" |
6 | homepage = "https://github.com/rust-cli/anstyle" |
7 | categories = ["command-line-interface" ] |
8 | keywords = ["ansi" , "terminal" , "color" , "vte" ] |
9 | license.workspace = true |
10 | edition.workspace = true |
11 | rust-version.workspace = true |
12 | include.workspace = true |
13 | |
14 | [package.metadata.release] |
15 | pre-release-replacements = [ |
16 | {file="CHANGELOG.md" , search="Unreleased" , replace="{{version}}" , min=1}, |
17 | {file="CHANGELOG.md" , search="\\.\\.\\.HEAD" , replace="...{{tag_name}}" , exactly=1}, |
18 | {file="CHANGELOG.md" , search="ReleaseDate" , replace="{{date}}" , min=1}, |
19 | {file="CHANGELOG.md" , search="<!-- next-header -->" , replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n" , exactly=1}, |
20 | {file="CHANGELOG.md" , search="<!-- next-url -->" , replace="<!-- next-url -->\n[Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD" , exactly=1}, |
21 | ] |
22 | |
23 | [dependencies] |
24 | arrayvec = { version = "0.7.2" , default-features = false, optional = true } |
25 | utf8parse = { version = "0.2.1" , optional = true } |
26 | |
27 | [features] |
28 | default = ["utf8" ] |
29 | core = ["dep:arrayvec" ] |
30 | utf8 = ["dep:utf8parse" ] |
31 | |
32 | [dev-dependencies] |
33 | codegenrs = { version = "3.0.1" , default-features = false } |
34 | criterion = "0.5.1" |
35 | proptest = "1.4.0" |
36 | snapbox = { version = "0.4.14" , features = ["path" ] } |
37 | vte_generate_state_changes = { version = "0.1.1" } |
38 | |
39 | [[bench]] |
40 | name = "parse" |
41 | harness = false |
42 | |