Debian Codegraph @

debian/missing-sources/anstream/Cargo.toml

raw symbols SCIP
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]
13 edition = "2021"
14 rust-version = "1.66.0"
15 name = "anstream"
16 version = "0.6.21"
17 build = false
18 include = [
19 "build.rs",
20 "src/**/*",
21 "Cargo.toml",
22 "Cargo.lock",
23 "LICENSE*",
24 "README.md",
25 "examples/**/*",
26 ]
27 autolib = false
28 autobins = false
29 autoexamples = false
30 autotests = false
31 autobenches = false
32 description = "IO stream adapters for writing colored text that will gracefully degrade according to your terminal's capabilities."
33 readme = "README.md"
34 keywords = [
35 "ansi",
36 "terminal",
37 "color",
38 "strip",
39 "wincon",
40 ]
41 categories = ["command-line-interface"]
42 license = "MIT OR Apache-2.0"
43 repository = "https://github.com/rust-cli/anstyle.git"
44
45 [package.metadata.docs.rs]
46 all-features = true
47 rustdoc-args = [
48 "--cfg",
49 "docsrs",
50 "--generate-link-to-definition",
51 ]
52
53 [[package.metadata.release.pre-release-replacements]]
54 file = "CHANGELOG.md"
55 search = "Unreleased"
56 replace = "{{version}}"
57 min = 1
58
59 [[package.metadata.release.pre-release-replacements]]
60 file = "CHANGELOG.md"
61 search = '\.\.\.HEAD'
62 replace = "...{{tag_name}}"
63 exactly = 1
64
65 [[package.metadata.release.pre-release-replacements]]
66 file = "CHANGELOG.md"
67 search = "ReleaseDate"
68 replace = "{{date}}"
69 min = 1
70
71 [[package.metadata.release.pre-release-replacements]]
72 file = "CHANGELOG.md"
73 search = "<!-- next-header -->"
74 replace = """
75 <!-- next-header -->
76 ## [Unreleased] - ReleaseDate
77 """
78 exactly = 1
79
80 [[package.metadata.release.pre-release-replacements]]
81 file = "CHANGELOG.md"
82 search = "<!-- next-url -->"
83 replace = """
84 <!-- next-url -->
85 [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
86 exactly = 1
87
88 [features]
89 auto = ["dep:anstyle-query"]
90 default = [
91 "auto",
92 "wincon",
93 ]
94 test = []
95 wincon = ["dep:anstyle-wincon"]
96
97 [lib]
98 name = "anstream"
99 path = "src/lib.rs"
100
101 [[example]]
102 name = "dump-stream"
103 path = "examples/dump-stream.rs"
104 required-features = ["auto"]
105
106 [[example]]
107 name = "query-stream"
108 path = "examples/query-stream.rs"
109 required-features = ["auto"]
110
111 [dependencies.anstyle]
112 version = "1.0.0"
113
114 [dependencies.anstyle-parse]
115 version = "0.2.0"
116
117 [dependencies.anstyle-query]
118 version = "1.0.0"
119 optional = true
120
121 [dependencies.colorchoice]
122 version = "1.0.0"
123
124 [dependencies.is_terminal_polyfill]
125 version = "1.48"
126
127 [dependencies.utf8parse]
128 version = "0.2.2"
129
130 [dev-dependencies.divan]
131 version = "0.1.16"
132
133 [dev-dependencies.lexopt]
134 version = "0.3.1"
135
136 [dev-dependencies.owo-colors]
137 version = "4.0.0"
138
139 [dev-dependencies.proptest]
140 version = "1.7.0"
141
142 [dev-dependencies.strip-ansi-escapes]
143 version = "0.2.1"
144
145 [target."cfg(windows)".dependencies.anstyle-wincon]
146 version = "3.0.5"
147 optional = true
148
149 [lints.clippy]
150 bool_assert_comparison = "allow"
151 branches_sharing_code = "allow"
152 checked_conversions = "warn"
153 collapsible_else_if = "allow"
154 create_dir = "warn"
155 dbg_macro = "warn"
156 debug_assert_with_mut_call = "warn"
157 doc_markdown = "warn"
158 empty_enum = "warn"
159 enum_glob_use = "warn"
160 expl_impl_clone_on_copy = "warn"
161 explicit_deref_methods = "warn"
162 explicit_into_iter_loop = "warn"
163 fallible_impl_from = "warn"
164 filter_map_next = "warn"
165 flat_map_option = "warn"
166 float_cmp_const = "warn"
167 fn_params_excessive_bools = "warn"
168 from_iter_instead_of_collect = "warn"
169 if_same_then_else = "allow"
170 implicit_clone = "warn"
171 imprecise_flops = "warn"
172 inconsistent_struct_constructor = "warn"
173 inefficient_to_string = "warn"
174 infinite_loop = "warn"
175 invalid_upcast_comparisons = "warn"
176 large_digit_groups = "warn"
177 large_stack_arrays = "warn"
178 large_types_passed_by_value = "warn"
179 let_and_return = "allow"
180 linkedlist = "warn"
181 lossy_float_literal = "warn"
182 macro_use_imports = "warn"
183 mem_forget = "warn"
184 mutex_integer = "warn"
185 needless_continue = "allow"
186 needless_for_each = "warn"
187 negative_feature_names = "warn"
188 path_buf_push_overwrite = "warn"
189 ptr_as_ptr = "warn"
190 rc_mutex = "warn"
191 redundant_feature_names = "warn"
192 ref_option_ref = "warn"
193 rest_pat_in_fully_bound_structs = "warn"
194 result_large_err = "allow"
195 same_functions_in_if_condition = "warn"
196 self_named_module_files = "warn"
197 semicolon_if_nothing_returned = "warn"
198 str_to_string = "warn"
199 string_add = "warn"
200 string_add_assign = "warn"
201 string_lit_as_bytes = "warn"
202 string_to_string = "warn"
203 todo = "warn"
204 trait_duplication_in_bounds = "warn"
205 uninlined_format_args = "warn"
206 verbose_file_reads = "warn"
207 wildcard_imports = "warn"
208 zero_sized_map_values = "warn"
209
210 [lints.rust]
211 unnameable_types = "warn"
212 unreachable_pub = "warn"
213 unsafe_op_in_unsafe_fn = "warn"
214 unused_lifetimes = "warn"
215 unused_macro_rules = "warn"
216 unused_qualifications = "warn"
217
218 [lints.rust.rust_2018_idioms]
219 level = "warn"
220 priority = -1