Debian Codegraph @

debian/missing-sources/anstream/Cargo.toml.orig

raw
1 [package]
2 name = "anstream"
3 version = "0.6.21"
4 description = "IO stream adapters for writing colored text that will gracefully degrade according to your terminal's capabilities."
5 categories = ["command-line-interface"]
6 keywords = ["ansi", "terminal", "color", "strip", "wincon"]
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", "--generate-link-to-definition"]
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 [features]
27 default = ["auto", "wincon"]
28 auto = ["dep:anstyle-query"]
29 wincon = ["dep:anstyle-wincon"]
30 # Enable in `dev-dependencies` to make sure output is captured for tests
31 test = []
32
33 [dependencies]
34 anstyle = { version = "1.0.0", path = "../anstyle" }
35 anstyle-parse = { version = "0.2.0", path = "../anstyle-parse" }
36 colorchoice = { version = "1.0.0", path = "../colorchoice" }
37 anstyle-query = { version = "1.0.0", path = "../anstyle-query", optional = true }
38 utf8parse = "0.2.2"
39 is_terminal_polyfill = "1.48"
40
41 [target.'cfg(windows)'.dependencies]
42 anstyle-wincon = { version = "3.0.5", path = "../anstyle-wincon", optional = true }
43
44 [dev-dependencies]
45 divan = "0.1.16"
46 lexopt = "0.3.1"
47 owo-colors = "4.0.0"
48 proptest = "1.7.0"
49 strip-ansi-escapes = "0.2.1"
50
51 [[example]]
52 name = "dump-stream"
53 required-features = ["auto"]
54
55 [[example]]
56 name = "query-stream"
57 required-features = ["auto"]
58
59 [[bench]]
60 name = "strip"
61 harness = false
62
63 [[bench]]
64 name = "wincon"
65 harness = false
66
67 [[bench]]
68 name = "stream"
69 harness = false
70
71 [lints]
72 workspace = true