Debian Codegraph @

Cargo.toml

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