Debian Codegraph @

third_party/rust/clap_builder/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.74"
15 name = "clap_builder"
16 version = "4.5.15"
17 build = false
18 include = [
19 "build.rs",
20 "src/**/*",
21 "Cargo.toml",
22 "LICENSE*",
23 "README.md",
24 "benches/**/*",
25 "examples/**/*",
26 ]
27 autobins = false
28 autoexamples = false
29 autotests = false
30 autobenches = false
31 description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
32 readme = "README.md"
33 keywords = [
34 "argument",
35 "cli",
36 "arg",
37 "parser",
38 "parse",
39 ]
40 categories = ["command-line-interface"]
41 license = "MIT OR Apache-2.0"
42 repository = "https://github.com/clap-rs/clap"
43
44 [package.metadata.docs.rs]
45 cargo-args = [
46 "-Zunstable-options",
47 "-Zrustdoc-scrape-examples",
48 ]
49 features = ["unstable-doc"]
50 rustdoc-args = [
51 "--cfg",
52 "docsrs",
53 ]
54
55 [package.metadata.playground]
56 features = ["unstable-doc"]
57
58 [package.metadata.release]
59 dependent-version = "upgrade"
60 shared-version = true
61 tag-name = "v{{version}}"
62
63 [lib]
64 name = "clap_builder"
65 path = "src/lib.rs"
66 bench = false
67
68 [dependencies.anstream]
69 version = "0.6.7"
70 optional = true
71
72 [dependencies.anstyle]
73 version = "1.0.8"
74
75 [dependencies.backtrace]
76 version = "0.3.73"
77 optional = true
78
79 [dependencies.clap_lex]
80 version = "0.7.0"
81
82 [dependencies.strsim]
83 version = "0.11.0"
84 optional = true
85
86 [dependencies.terminal_size]
87 version = "0.3.0"
88 optional = true
89
90 [dependencies.unicase]
91 version = "2.6.0"
92 optional = true
93
94 [dependencies.unicode-width]
95 version = "0.1.9"
96 optional = true
97
98 [dev-dependencies.color-print]
99 version = "0.3.6"
100
101 [dev-dependencies.static_assertions]
102 version = "1.1.0"
103
104 [dev-dependencies.unic-emoji-char]
105 version = "0.9.0"
106
107 [features]
108 cargo = []
109 color = ["dep:anstream"]
110 debug = ["dep:backtrace"]
111 default = [
112 "std",
113 "color",
114 "help",
115 "usage",
116 "error-context",
117 "suggestions",
118 ]
119 deprecated = []
120 env = []
121 error-context = []
122 help = []
123 std = ["anstyle/std"]
124 string = []
125 suggestions = [
126 "dep:strsim",
127 "error-context",
128 ]
129 unicode = [
130 "dep:unicode-width",
131 "dep:unicase",
132 ]
133 unstable-doc = [
134 "cargo",
135 "wrap_help",
136 "env",
137 "unicode",
138 "string",
139 "unstable-ext",
140 ]
141 unstable-ext = []
142 unstable-styles = ["color"]
143 unstable-v5 = ["deprecated"]
144 usage = []
145 wrap_help = [
146 "help",
147 "dep:terminal_size",
148 ]
149
150 [lints.clippy]
151 assigning_clones = "allow"
152 blocks_in_conditions = "allow"
153 bool_assert_comparison = "allow"
154 branches_sharing_code = "allow"
155 checked_conversions = "warn"
156 collapsible_else_if = "allow"
157 create_dir = "warn"
158 dbg_macro = "warn"
159 debug_assert_with_mut_call = "warn"
160 doc_markdown = "warn"
161 empty_enum = "warn"
162 enum_glob_use = "warn"
163 expl_impl_clone_on_copy = "warn"
164 explicit_deref_methods = "warn"
165 explicit_into_iter_loop = "warn"
166 fallible_impl_from = "warn"
167 filter_map_next = "warn"
168 flat_map_option = "warn"
169 float_cmp_const = "warn"
170 fn_params_excessive_bools = "warn"
171 from_iter_instead_of_collect = "warn"
172 if_same_then_else = "allow"
173 implicit_clone = "warn"
174 imprecise_flops = "warn"
175 inconsistent_struct_constructor = "warn"
176 inefficient_to_string = "warn"
177 infinite_loop = "warn"
178 invalid_upcast_comparisons = "warn"
179 large_digit_groups = "warn"
180 large_stack_arrays = "warn"
181 large_types_passed_by_value = "warn"
182 let_and_return = "allow"
183 linkedlist = "warn"
184 lossy_float_literal = "warn"
185 macro_use_imports = "warn"
186 mem_forget = "warn"
187 multiple_bound_locations = "allow"
188 mutex_integer = "warn"
189 needless_continue = "warn"
190 needless_for_each = "warn"
191 negative_feature_names = "warn"
192 path_buf_push_overwrite = "warn"
193 ptr_as_ptr = "warn"
194 rc_mutex = "warn"
195 redundant_feature_names = "warn"
196 ref_option_ref = "warn"
197 rest_pat_in_fully_bound_structs = "warn"
198 same_functions_in_if_condition = "warn"
199 self_named_module_files = "warn"
200 semicolon_if_nothing_returned = "warn"
201 string_add_assign = "warn"
202 string_lit_as_bytes = "warn"
203 todo = "warn"
204 trait_duplication_in_bounds = "warn"
205 verbose_file_reads = "warn"
206 zero_sized_map_values = "warn"
207
208 [lints.rust]
209 unreachable_pub = "warn"
210 unsafe_op_in_unsafe_fn = "warn"
211 unused_lifetimes = "warn"
212 unused_macro_rules = "warn"
213 unused_qualifications = "warn"
214
215 [lints.rust.rust_2018_idioms]
216 level = "warn"
217 priority = -1