1[package]
2name = "anstyle-parse"
3version = "0.2.3"
4description = "Parse ANSI Style Escapes"
5repository = "https://github.com/rust-cli/anstyle.git"
6homepage = "https://github.com/rust-cli/anstyle"
7categories = ["command-line-interface"]
8keywords = ["ansi", "terminal", "color", "vte"]
9license.workspace = true
10edition.workspace = true
11rust-version.workspace = true
12include.workspace = true
13
14[package.metadata.release]
15pre-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]
24arrayvec = { version = "0.7.2", default-features = false, optional = true }
25utf8parse = { version = "0.2.1", optional = true }
26
27[features]
28default = ["utf8"]
29core = ["dep:arrayvec"]
30utf8 = ["dep:utf8parse"]
31
32[dev-dependencies]
33codegenrs = { version = "3.0.1", default-features = false }
34criterion = "0.5.1"
35proptest = "1.4.0"
36snapbox = { version = "0.4.14", features = ["path"] }
37vte_generate_state_changes = { version = "0.1.1" }
38
39[[bench]]
40name = "parse"
41harness = false
42