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