-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
57 lines (49 loc) · 1.9 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "anstyle-stream"
version = "0.1.1"
description = "A simple cross platform library for writing colored text to a terminal."
repository = "https://github.com/rust-cli/anstyle.git"
homepage = "https://github.com/rust-cli/anstyle"
categories = ["command-line-interface"]
keywords = ["ansi", "terminal", "color"]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
[package.metadata.release]
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD", exactly=1},
]
[features]
default = ["auto", "wincon"]
auto = ["dep:concolor-query", "dep:concolor-override", "dep:is-terminal"]
wincon = ["dep:anstyle-wincon"]
[dependencies]
anstyle = { version = "0.3.0", path = "../anstyle" }
anstyle-parse = { version = "0.1.0", path = "../anstyle-parse" }
anstyle-wincon = { version = "0.1.0", path = "../anstyle-wincon", optional = true }
concolor-override = { version = "1.0.0", optional = true }
concolor-query = { version = "0.3.0", optional = true }
is-terminal = { version = "0.4.4", optional = true }
utf8parse = "0.2.1"
[dev-dependencies]
criterion = "0.4.0"
owo-colors = "3.5.0"
proptest = "1.1.0"
strip-ansi-escapes = "0.1.1"
[[bench]]
name = "strip"
harness = false
[[bench]]
name = "wincon"
harness = false
[[bench]]
name = "stream"
harness = false