Debian Codegraph @

debian/rust-vendor/clap_complete/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 = "2024"
14 rust-version = "1.85"
15 name = "clap_complete"
16 version = "4.6.11"
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 = "Generate shell completion scripts for your clap::Command"
33 readme = "README.md"
34 keywords = [
35 "clap",
36 "cli",
37 "completion",
38 "bash",
39 ]
40 categories = ["command-line-interface"]
41 license = "MIT OR Apache-2.0"
42 repository = "https://github.com/clap-rs/clap"
43 resolver = "2"
44
45 [package.metadata.docs.rs]
46 features = ["unstable-doc"]
47 rustdoc-args = ["--generate-link-to-definition"]
48
49 [[package.metadata.release.pre-release-replacements]]
50 file = "CHANGELOG.md"
51 search = "Unreleased"
52 replace = "{{version}}"
53 min = 1
54
55 [[package.metadata.release.pre-release-replacements]]
56 file = "CHANGELOG.md"
57 search = '\.\.\.HEAD'
58 replace = "...{{tag_name}}"
59 exactly = 1
60
61 [[package.metadata.release.pre-release-replacements]]
62 file = "CHANGELOG.md"
63 search = "ReleaseDate"
64 replace = "{{date}}"
65 min = 1
66
67 [[package.metadata.release.pre-release-replacements]]
68 file = "CHANGELOG.md"
69 search = "<!-- next-header -->"
70 replace = """
71 <!-- next-header -->
72 ## [Unreleased] - ReleaseDate
73 """
74 exactly = 1
75
76 [[package.metadata.release.pre-release-replacements]]
77 file = "CHANGELOG.md"
78 search = "<!-- next-url -->"
79 replace = """
80 <!-- next-url -->
81 [Unreleased]: {{repository}}/compare/{{tag_name}}...HEAD"""
82 exactly = 1
83
84 [[package.metadata.release.pre-release-replacements]]
85 file = "README.md"
86 search = "github.com/clap-rs/clap/blob/[^/]+/"
87 replace = "github.com/clap-rs/clap/blob/{{tag_name}}/"
88 exactly = 4
89 prerelease = true
90
91 [features]
92 debug = ["clap/debug"]
93 default = []
94 unstable-doc = ["unstable-dynamic"]
95 unstable-dynamic = [
96 "dep:clap_lex",
97 "dep:shlex",
98 "dep:is_executable",
99 "clap/unstable-ext",
100 ]
101 unstable-shell-tests = [
102 "dep:completest",
103 "dep:completest-pty",
104 ]
105
106 [lib]
107 name = "clap_complete"
108 path = "src/lib.rs"
109 bench = false
110
111 [[example]]
112 name = "completion"
113 path = "examples/completion.rs"
114
115 [[example]]
116 name = "completion-derive"
117 path = "examples/completion-derive.rs"
118
119 [[example]]
120 name = "dynamic"
121 path = "examples/dynamic.rs"
122 required-features = ["unstable-dynamic"]
123
124 [[example]]
125 name = "exhaustive"
126 path = "examples/exhaustive.rs"
127
128 [dependencies.clap]
129 version = "4.6.6"
130 features = ["std"]
131 default-features = false
132
133 [dependencies.clap_lex]
134 version = "1.0.0"
135 optional = true
136
137 [dependencies.completest]
138 version = "1.1.0"
139 optional = true
140
141 [dependencies.completest-pty]
142 version = "1.1.0"
143 optional = true
144
145 [dependencies.is_executable]
146 version = "1.0.5"
147 optional = true
148
149 [dependencies.shlex]
150 version = "2.0.0"
151 optional = true
152
153 [dev-dependencies.automod]
154 version = "1.0.16"
155
156 [dev-dependencies.clap]
157 version = "4.6.6"
158 features = [
159 "std",
160 "derive",
161 "help",
162 ]
163 default-features = false
164
165 [dev-dependencies.snapbox]
166 version = "1.2.0"
167 features = [
168 "diff",
169 "dir",
170 "examples",
171 ]
172
173 [dev-dependencies.trycmd]
174 version = "1.2.0"
175 features = [
176 "color-auto",
177 "diff",
178 "examples",
179 ]
180 default-features = false
181
182 [lints.clippy]
183 assigning_clones = "allow"
184 blocks_in_conditions = "allow"
185 bool_assert_comparison = "allow"
186 branches_sharing_code = "allow"
187 byte_char_slices = "allow"
188 checked_conversions = "warn"
189 collapsible_else_if = "allow"
190 collapsible_match = "allow"
191 collection_is_never_read = "warn"
192 create_dir = "warn"
193 dbg_macro = "warn"
194 debug_assert_with_mut_call = "warn"
195 doc_markdown = "warn"
196 empty_enums = "warn"
197 enum_glob_use = "warn"
198 expl_impl_clone_on_copy = "warn"
199 explicit_deref_methods = "warn"
200 explicit_into_iter_loop = "warn"
201 fallible_impl_from = "warn"
202 filter_map_next = "warn"
203 flat_map_option = "warn"
204 float_cmp = "warn"
205 float_cmp_const = "warn"
206 fn_params_excessive_bools = "warn"
207 fn_to_numeric_cast_any = "warn"
208 if_same_then_else = "allow"
209 implicit_clone = "warn"
210 imprecise_flops = "warn"
211 inconsistent_struct_constructor = "warn"
212 inefficient_to_string = "warn"
213 infinite_loop = "warn"
214 invalid_upcast_comparisons = "warn"
215 large_digit_groups = "warn"
216 large_stack_arrays = "warn"
217 large_types_passed_by_value = "warn"
218 let_and_return = "allow"
219 linkedlist = "warn"
220 lossy_float_literal = "warn"
221 macro_use_imports = "warn"
222 mem_forget = "warn"
223 mismatching_type_param_order = "warn"
224 multiple_bound_locations = "allow"
225 mutex_integer = "warn"
226 needless_continue = "allow"
227 needless_for_each = "warn"
228 negative_feature_names = "warn"
229 partial_pub_fields = "warn"
230 path_buf_push_overwrite = "warn"
231 ptr_as_ptr = "warn"
232 rc_mutex = "warn"
233 redundant_feature_names = "warn"
234 ref_option_ref = "warn"
235 rest_pat_in_fully_bound_structs = "warn"
236 result_large_err = "allow"
237 same_functions_in_if_condition = "warn"
238 self_named_module_files = "warn"
239 semicolon_if_nothing_returned = "warn"
240 str_to_string = "warn"
241 string_add = "warn"
242 string_add_assign = "warn"
243 string_lit_as_bytes = "warn"
244 todo = "warn"
245 trait_duplication_in_bounds = "warn"
246 uninlined_format_args = "warn"
247 unnecessary_safety_comment = "warn"
248 unnecessary_safety_doc = "warn"
249 unseparated_literal_suffix = "warn"
250 use_self = "warn"
251 verbose_file_reads = "warn"
252 zero_sized_map_values = "warn"
253
254 [lints.rust]
255 non_ascii_idents = "warn"
256 trivial_numeric_casts = "warn"
257 unreachable_pub = "warn"
258 unsafe_op_in_unsafe_fn = "warn"
259 unused_lifetimes = "warn"
260 unused_macro_rules = "warn"
261 unused_qualifications = "warn"
262
263 [lints.rust.rust_2018_idioms]
264 level = "warn"
265 priority = -1