@@ -23,7 +23,7 @@ members = [
23
23
[workspace .package ]
24
24
edition = " 2021"
25
25
license = " MIT OR Apache-2.0"
26
- rust-version = " 1.77 "
26
+ rust-version = " 1.79 "
27
27
version = " 0.29.1"
28
28
29
29
@@ -145,6 +145,7 @@ disallowed_types = "warn" # See clippy.toml
145
145
doc_link_with_quotes = " warn"
146
146
doc_markdown = " warn"
147
147
empty_enum = " warn"
148
+ empty_enum_variants_with_brackets = " warn"
148
149
enum_glob_use = " warn"
149
150
equatable_if_let = " warn"
150
151
exit = " warn"
@@ -169,6 +170,8 @@ inefficient_to_string = "warn"
169
170
infinite_loop = " warn"
170
171
into_iter_without_iter = " warn"
171
172
invalid_upcast_comparisons = " warn"
173
+ iter_filter_is_ok = " warn"
174
+ iter_filter_is_some = " warn"
172
175
iter_not_returning_iterator = " warn"
173
176
iter_on_empty_collections = " warn"
174
177
iter_on_single_items = " warn"
@@ -185,6 +188,7 @@ macro_use_imports = "warn"
185
188
manual_assert = " warn"
186
189
manual_clamp = " warn"
187
190
manual_instant_elapsed = " warn"
191
+ manual_is_variant_and = " warn"
188
192
manual_let_else = " warn"
189
193
manual_ok_or = " warn"
190
194
manual_string_new = " warn"
@@ -202,6 +206,7 @@ mismatching_type_param_order = "warn"
202
206
missing_enforced_import_renames = " warn"
203
207
missing_errors_doc = " warn"
204
208
missing_safety_doc = " warn"
209
+ mixed_attributes_style = " warn"
205
210
mut_mut = " warn"
206
211
mutex_integer = " warn"
207
212
needless_borrow = " warn"
@@ -211,21 +216,25 @@ needless_pass_by_ref_mut = "warn"
211
216
needless_pass_by_value = " warn"
212
217
negative_feature_names = " warn"
213
218
nonstandard_macro_braces = " warn"
219
+ option_as_ref_cloned = " warn"
214
220
option_option = " warn"
215
221
path_buf_push_overwrite = " warn"
216
222
print_stderr = " warn"
217
223
ptr_as_ptr = " warn"
218
224
ptr_cast_constness = " warn"
225
+ pub_underscore_fields = " warn"
219
226
pub_without_shorthand = " warn"
220
227
rc_mutex = " warn"
221
228
readonly_write_lock = " warn"
222
229
redundant_type_annotations = " warn"
230
+ ref_as_ptr = " warn"
223
231
ref_option_ref = " warn"
224
232
ref_patterns = " warn"
225
233
rest_pat_in_fully_bound_structs = " warn"
226
234
same_functions_in_if_condition = " warn"
227
235
semicolon_if_nothing_returned = " warn"
228
236
single_match_else = " warn"
237
+ str_split_at_newline = " warn"
229
238
str_to_string = " warn"
230
239
string_add = " warn"
231
240
string_add_assign = " warn"
@@ -261,12 +270,15 @@ zero_sized_map_values = "warn"
261
270
262
271
# TODO(emilk): enable more of these lints:
263
272
iter_over_hash_type = " allow"
264
- let_underscore_untyped = " allow"
265
273
missing_assert_message = " allow"
266
274
should_panic_without_expect = " allow"
267
275
too_many_lines = " allow"
268
276
unwrap_used = " allow" # TODO(emilk): We really wanna warn on this one
269
277
278
+ # These are meh:
279
+ assigning_clones = " allow" # No please
280
+ let_underscore_must_use = " allow"
281
+ let_underscore_untyped = " allow"
270
282
manual_range_contains = " allow" # this one is just worse imho
271
283
self_named_module_files = " allow" # Disabled waiting on https://github.com/rust-lang/rust-clippy/issues/9602
272
284
significant_drop_tightening = " allow" # Too many false positives
0 commit comments