Debian Codegraph @

third_party/rust/clap-verbosity-flag/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-verbosity-flag"
16 version = "3.0.1"
17 authors = ["Pascal Hertleif <[email protected]>"]
18 build = false
19 include = [
20 "build.rs",
21 "src/**/*",
22 "Cargo.toml",
23 "Cargo.lock",
24 "LICENSE*",
25 "README.md",
26 "benches/**/*",
27 "examples/**/*",
28 ]
29 autobins = false
30 autoexamples = false
31 autotests = false
32 autobenches = false
33 description = "Easily add a `--verbose` flag to CLIs using Clap"
34 readme = "README.md"
35 license = "MIT OR Apache-2.0"
36 repository = "https://github.com/clap-rs/clap-verbosity-flag"
37
38 [package.metadata.docs.rs]
39 all-features = true
40 rustdoc-args = [
41 "--cfg",
42 "docsrs",
43 ]
44
45 [[package.metadata.release.pre-release-replacements]]
46 file = "CHANGELOG.md"
47 min = 1
48 replace = "{{version}}"
49 search = "Unreleased"
50
51 [[package.metadata.release.pre-release-replacements]]
52 exactly = 1
53 file = "CHANGELOG.md"
54 replace = "...{{tag_name}}"
55 search = '\.\.\.HEAD'
56
57 [[package.metadata.release.pre-release-replacements]]
58 file = "CHANGELOG.md"
59 min = 1
60 replace = "{{date}}"
61 search = "ReleaseDate"
62
63 [[package.metadata.release.pre-release-replacements]]
64 exactly = 1
65 file = "CHANGELOG.md"
66 replace = """
67 <!-- next-header -->
68 ## [Unreleased] - ReleaseDate
69 """
70 search = "<!-- next-header -->"
71
72 [[package.metadata.release.pre-release-replacements]]
73 exactly = 1
74 file = "CHANGELOG.md"
75 replace = """
76 <!-- next-url -->
77 [Unreleased]: https://github.com/clap-rs/clap-verbosity-flag/compare/{{tag_name}}...HEAD"""
78 search = "<!-- next-url -->"
79
80 [lib]
81 name = "clap_verbosity_flag"
82 path = "src/lib.rs"
83
84 [[example]]
85 name = "log"
86 path = "examples/log.rs"
87 required-features = ["log"]
88
89 [[example]]
90 name = "log_level"
91 path = "examples/log_level.rs"
92 required-features = ["log"]
93
94 [[example]]
95 name = "tracing"
96 path = "examples/tracing.rs"
97 required-features = ["tracing"]
98
99 [dependencies.clap]
100 version = "4.0.0"
101 features = [
102 "std",
103 "derive",
104 ]
105 default-features = false
106
107 [dependencies.log]
108 version = "0.4.1"
109 optional = true
110
111 [dependencies.tracing-core]
112 version = "0.1"
113 optional = true
114
115 [dev-dependencies.clap]
116 version = "4.5.4"
117 features = [
118 "help",
119 "usage",
120 ]
121 default-features = false
122
123 [dev-dependencies.env_logger]
124 version = "0.11.3"
125
126 [dev-dependencies.tracing]
127 version = "0.1"
128
129 [dev-dependencies.tracing-subscriber]
130 version = "0.3"
131
132 [features]
133 default = ["log"]
134 log = ["dep:log"]
135 tracing = ["dep:tracing-core"]
136
137 [badges.codecov]
138 repository = "clap-rs/clap-verbosity-flag"
139
140 [lints.clippy]
141 bool_assert_comparison = "allow"
142 branches_sharing_code = "allow"
143 checked_conversions = "warn"
144 collapsible_else_if = "allow"
145 create_dir = "warn"
146 dbg_macro = "warn"
147 debug_assert_with_mut_call = "warn"
148 doc_markdown = "warn"
149 empty_enum = "warn"
150 enum_glob_use = "warn"
151 expl_impl_clone_on_copy = "warn"
152 explicit_deref_methods = "warn"
153 explicit_into_iter_loop = "warn"
154 fallible_impl_from = "warn"
155 filter_map_next = "warn"
156 flat_map_option = "warn"
157 float_cmp_const = "warn"
158 fn_params_excessive_bools = "warn"
159 from_iter_instead_of_collect = "warn"
160 if_same_then_else = "allow"
161 implicit_clone = "warn"
162 imprecise_flops = "warn"
163 inconsistent_struct_constructor = "warn"
164 inefficient_to_string = "warn"
165 infinite_loop = "warn"
166 invalid_upcast_comparisons = "warn"
167 large_digit_groups = "warn"
168 large_stack_arrays = "warn"
169 large_types_passed_by_value = "warn"
170 let_and_return = "allow"
171 linkedlist = "warn"
172 lossy_float_literal = "warn"
173 macro_use_imports = "warn"
174 mem_forget = "warn"
175 mutex_integer = "warn"
176 needless_continue = "warn"
177 needless_for_each = "warn"
178 negative_feature_names = "warn"
179 path_buf_push_overwrite = "warn"
180 ptr_as_ptr = "warn"
181 rc_mutex = "warn"
182 redundant_feature_names = "warn"
183 ref_option_ref = "warn"
184 rest_pat_in_fully_bound_structs = "warn"
185 same_functions_in_if_condition = "warn"
186 self_named_module_files = "warn"
187 semicolon_if_nothing_returned = "warn"
188 str_to_string = "warn"
189 string_add = "warn"
190 string_add_assign = "warn"
191 string_lit_as_bytes = "warn"
192 string_to_string = "warn"
193 todo = "warn"
194 trait_duplication_in_bounds = "warn"
195 uninlined_format_args = "warn"
196 verbose_file_reads = "warn"
197 wildcard_imports = "warn"
198 zero_sized_map_values = "warn"
199
200 [lints.rust]
201 unreachable_pub = "warn"
202 unsafe_op_in_unsafe_fn = "warn"
203 unused_lifetimes = "warn"
204 unused_macro_rules = "warn"
205 unused_qualifications = "warn"
206
207 [lints.rust.rust_2018_idioms]
208 level = "warn"
209 priority = -1