Debian Codegraph @

debian/rust-vendor/anstyle-parse/Cargo.toml

raw
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 = "anstyle-parse"
16 version = "1.0.0"
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 = "Parse ANSI Style Escapes"
33 readme = "README.md"
34 keywords = [
35 "ansi",
36 "terminal",
37 "color",
38 "vte",
39 ]
40 categories = ["command-line-interface"]
41 license = "MIT OR Apache-2.0"
42 repository = "https://github.com/rust-cli/anstyle.git"
43
44 [package.metadata.docs.rs]
45 all-features = true
46 rustdoc-args = [
47 "--cfg",
48 "docsrs",
49 "--generate-link-to-definition",
50 ]
51
52 [[package.metadata.release.pre-release-replacements]]
53 file = "CHANGELOG.md"
54 search = "Unreleased"
55 replace = "{{version}}"
56 min = 1
57
58 [[package.metadata.release.pre-release-replacements]]
59 file = "CHANGELOG.md"
60 search = '\.\.\.HEAD'
61 replace = "...{{tag_name}}"
62 exactly = 1
63
64 [[package.metadata.release.pre-release-replacements]]
65 file = "CHANGELOG.md"
66 search = "ReleaseDate"
67 replace = "{{date}}"
68 min = 1
69
70 [[package.metadata.release.pre-release-replacements]]
71 file = "CHANGELOG.md"
72 search = "<!-- next-header -->"
73 replace = """
74 <!-- next-header -->
75 ## [Unreleased] - ReleaseDate
76 """
77 exactly = 1
78
79 [[package.metadata.release.pre-release-replacements]]
80 file = "CHANGELOG.md"
81 search = "<!-- next-url -->"
82 replace = """
83 <!-- next-url -->
84 [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
85 exactly = 1
86
87 [features]
88 core = ["dep:arrayvec"]
89 default = ["utf8"]
90 utf8 = ["dep:utf8parse"]
91
92 [lib]
93 name = "anstyle_parse"
94 path = "src/lib.rs"
95
96 [[example]]
97 name = "parselog"
98 path = "examples/parselog.rs"
99
100 [dependencies.arrayvec]
101 version = "0.7.6"
102 optional = true
103 default-features = false
104
105 [dependencies.utf8parse]
106 version = "0.2.2"
107 optional = true
108
109 [dev-dependencies.codegenrs]
110 version = "3.0.0"
111 default-features = false
112
113 [dev-dependencies.divan]
114 version = "0.1.16"
115
116 [dev-dependencies.proptest]
117 version = "1.7.0"
118
119 [dev-dependencies.snapbox]
120 version = "0.6.23"
121
122 [dev-dependencies.vte_generate_state_changes]
123 version = "0.1.2"
124
125 [lints.clippy]
126 bool_assert_comparison = "allow"
127 branches_sharing_code = "allow"
128 checked_conversions = "warn"
129 collapsible_else_if = "allow"
130 create_dir = "warn"
131 dbg_macro = "warn"
132 debug_assert_with_mut_call = "warn"
133 doc_markdown = "warn"
134 empty_enums = "warn"
135 enum_glob_use = "warn"
136 expl_impl_clone_on_copy = "warn"
137 explicit_deref_methods = "warn"
138 explicit_into_iter_loop = "warn"
139 fallible_impl_from = "warn"
140 filter_map_next = "warn"
141 flat_map_option = "warn"
142 float_cmp_const = "warn"
143 fn_params_excessive_bools = "warn"
144 from_iter_instead_of_collect = "warn"
145 if_same_then_else = "allow"
146 implicit_clone = "warn"
147 imprecise_flops = "warn"
148 inconsistent_struct_constructor = "warn"
149 inefficient_to_string = "warn"
150 infinite_loop = "warn"
151 invalid_upcast_comparisons = "warn"
152 large_digit_groups = "warn"
153 large_stack_arrays = "warn"
154 large_types_passed_by_value = "warn"
155 let_and_return = "allow"
156 linkedlist = "warn"
157 lossy_float_literal = "warn"
158 macro_use_imports = "warn"
159 mem_forget = "warn"
160 mutex_integer = "warn"
161 needless_continue = "allow"
162 needless_for_each = "warn"
163 negative_feature_names = "warn"
164 path_buf_push_overwrite = "warn"
165 ptr_as_ptr = "warn"
166 rc_mutex = "warn"
167 redundant_feature_names = "warn"
168 ref_option_ref = "warn"
169 rest_pat_in_fully_bound_structs = "warn"
170 result_large_err = "allow"
171 same_functions_in_if_condition = "warn"
172 self_named_module_files = "warn"
173 semicolon_if_nothing_returned = "warn"
174 str_to_string = "warn"
175 string_add = "warn"
176 string_add_assign = "warn"
177 string_lit_as_bytes = "warn"
178 todo = "warn"
179 trait_duplication_in_bounds = "warn"
180 uninlined_format_args = "warn"
181 verbose_file_reads = "warn"
182 wildcard_imports = "warn"
183 zero_sized_map_values = "warn"
184
185 [lints.rust]
186 unnameable_types = "warn"
187 unreachable_pub = "warn"
188 unsafe_op_in_unsafe_fn = "warn"
189 unused_lifetimes = "warn"
190 unused_macro_rules = "warn"
191 unused_qualifications = "warn"
192
193 [lints.rust.rust_2018_idioms]
194 level = "warn"
195 priority = -1