]> git.proxmox.com Git - rustc.git/blame - vendor/anstream/Cargo.toml
New upstream version 1.75.0+dfsg1
[rustc.git] / vendor / anstream / Cargo.toml
CommitLineData
353b0b11
FG
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
781aab86 14rust-version = "1.70.0"
353b0b11 15name = "anstream"
ed00b5ec 16version = "0.6.4"
353b0b11
FG
17include = [
18 "build.rs",
19 "src/**/*",
20 "Cargo.toml",
fe692bf9 21 "Cargo.lock",
353b0b11
FG
22 "LICENSE*",
23 "README.md",
24 "benches/**/*",
25 "examples/**/*",
26]
27description = "A simple cross platform library for writing colored text to a terminal."
28homepage = "https://github.com/rust-cli/anstyle"
29readme = "README.md"
30keywords = [
31 "ansi",
32 "terminal",
33 "color",
34 "strip",
35 "wincon",
36]
37categories = ["command-line-interface"]
38license = "MIT OR Apache-2.0"
39repository = "https://github.com/rust-cli/anstyle.git"
40
41[package.metadata.docs.rs]
353b0b11
FG
42cargo-args = [
43 "-Zunstable-options",
44 "-Zrustdoc-scrape-examples",
45]
fe692bf9
FG
46rustdoc-args = [
47 "--cfg",
48 "docsrs",
49]
353b0b11
FG
50
51[[package.metadata.release.pre-release-replacements]]
52file = "CHANGELOG.md"
353b0b11 53min = 1
fe692bf9
FG
54replace = "{{version}}"
55search = "Unreleased"
353b0b11
FG
56
57[[package.metadata.release.pre-release-replacements]]
fe692bf9 58exactly = 1
353b0b11 59file = "CHANGELOG.md"
353b0b11 60replace = "...{{tag_name}}"
fe692bf9 61search = '\.\.\.HEAD'
353b0b11
FG
62
63[[package.metadata.release.pre-release-replacements]]
64file = "CHANGELOG.md"
353b0b11 65min = 1
fe692bf9
FG
66replace = "{{date}}"
67search = "ReleaseDate"
353b0b11
FG
68
69[[package.metadata.release.pre-release-replacements]]
fe692bf9 70exactly = 1
353b0b11 71file = "CHANGELOG.md"
353b0b11
FG
72replace = """
73<!-- next-header -->
74## [Unreleased] - ReleaseDate
75"""
fe692bf9 76search = "<!-- next-header -->"
353b0b11
FG
77
78[[package.metadata.release.pre-release-replacements]]
fe692bf9 79exactly = 1
353b0b11 80file = "CHANGELOG.md"
353b0b11
FG
81replace = """
82<!-- next-url -->
83[Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
fe692bf9 84search = "<!-- next-url -->"
353b0b11
FG
85
86[[bench]]
87name = "strip"
88harness = false
89
90[[bench]]
91name = "wincon"
92harness = false
93
94[[bench]]
95name = "stream"
96harness = false
97
98[dependencies.anstyle]
fe692bf9 99version = "1.0.0"
353b0b11
FG
100
101[dependencies.anstyle-parse]
fe692bf9 102version = "0.2.0"
353b0b11 103
fe692bf9 104[dependencies.anstyle-query]
353b0b11
FG
105version = "1.0.0"
106optional = true
107
fe692bf9
FG
108[dependencies.colorchoice]
109version = "1.0.0"
353b0b11
FG
110optional = true
111
353b0b11
FG
112[dependencies.utf8parse]
113version = "0.2.1"
114
115[dev-dependencies.criterion]
781aab86 116version = "0.5.1"
353b0b11
FG
117
118[dev-dependencies.owo-colors]
119version = "3.5.0"
120
121[dev-dependencies.proptest]
781aab86 122version = "1.2.0"
353b0b11
FG
123
124[dev-dependencies.strip-ansi-escapes]
781aab86 125version = "0.2.0"
353b0b11
FG
126
127[features]
128auto = [
fe692bf9
FG
129 "dep:anstyle-query",
130 "dep:colorchoice",
353b0b11
FG
131]
132default = [
133 "auto",
134 "wincon",
135]
781aab86 136test = []
353b0b11
FG
137wincon = ["dep:anstyle-wincon"]
138
139[target."cfg(windows)".dependencies.anstyle-wincon]
781aab86 140version = "3.0.1"
353b0b11 141optional = true