@@ -6,7 +6,7 @@ members = ["egui_plot", "demo", "examples/*", "examples_utils"]
66[workspace .package ]
77edition = " 2024"
88license = " MIT OR Apache-2.0"
9- rust-version = " 1.88 "
9+ rust-version = " 1.92 "
1010version = " 0.34.1"
1111
1212
@@ -102,26 +102,33 @@ missing_crate_level_docs = "warn"
102102
103103# See also clippy.toml
104104[workspace .lints .clippy ]
105+ all = { level = " warn" , priority = -1 }
106+
105107allow_attributes = " warn"
106- allow_attributes_without_reason = " warn"
107108as_ptr_cast_mut = " warn"
108109await_holding_lock = " warn"
109110bool_to_int_with_if = " warn"
110111branches_sharing_code = " warn"
112+ cast_possible_wrap = " warn"
111113char_lit_as_u8 = " warn"
112114checked_conversions = " warn"
113115clear_with_drain = " warn"
116+ clone_on_ref_ptr = " warn"
114117cloned_instead_of_copied = " warn"
118+ coerce_container_to_any = " warn"
119+ comparison_chain = " warn"
115120dbg_macro = " warn"
116121debug_assert_with_mut_call = " warn"
117122default_union_representation = " warn"
118123derive_partial_eq_without_eq = " warn"
119- disallowed_macros = " warn" # See clippy.toml
120- disallowed_methods = " warn" # See clippy.toml
121- disallowed_names = " warn" # See clippy.toml
122- disallowed_script_idents = " warn" # See clippy.toml
123- disallowed_types = " warn" # See clippy.toml
124+ disallowed_macros = " warn" # See clippy.toml
125+ disallowed_methods = " warn" # See clippy.toml
126+ disallowed_names = " warn" # See clippy.toml
127+ disallowed_script_idents = " warn" # See clippy.toml
128+ disallowed_types = " warn" # See clippy.toml
129+ doc_broken_link = " warn"
124130doc_comment_double_space_linebreaks = " warn"
131+ doc_include_without_cfg = " warn"
125132doc_link_with_quotes = " warn"
126133doc_markdown = " warn"
127134elidable_lifetime_names = " warn"
@@ -155,6 +162,7 @@ inefficient_to_string = "warn"
155162infinite_loop = " warn"
156163into_iter_without_iter = " warn"
157164invalid_upcast_comparisons = " warn"
165+ ip_constant = " warn"
158166iter_filter_is_ok = " warn"
159167iter_filter_is_some = " warn"
160168iter_not_returning_iterator = " warn"
@@ -163,6 +171,7 @@ iter_on_single_items = "warn"
163171iter_over_hash_type = " warn"
164172iter_without_into_iter = " warn"
165173large_digit_groups = " warn"
174+ large_futures = " warn"
166175large_include_file = " warn"
167176large_stack_arrays = " warn"
168177large_stack_frames = " warn"
@@ -228,6 +237,7 @@ ref_patterns = "warn"
228237rest_pat_in_fully_bound_structs = " warn"
229238return_and_then = " warn"
230239same_functions_in_if_condition = " warn"
240+ self_only_used_in_recursion = " warn"
231241semicolon_if_nothing_returned = " warn"
232242set_contains_or_insert = " warn"
233243should_panic_without_expect = " warn"
@@ -240,7 +250,6 @@ string_add = "warn"
240250string_add_assign = " warn"
241251string_lit_as_bytes = " warn"
242252string_lit_chars_any = " warn"
243- string_to_string = " warn"
244253suspicious_command_arg_space = " warn"
245254suspicious_xor_used_as_pow = " warn"
246255todo = " warn"
@@ -250,7 +259,7 @@ trailing_empty_array = "warn"
250259trait_duplication_in_bounds = " warn"
251260transmute_ptr_to_ptr = " warn"
252261tuple_array_conversions = " warn"
253- unchecked_duration_subtraction = " warn"
262+ unchecked_time_subtraction = " warn"
254263undocumented_unsafe_blocks = " warn"
255264unimplemented = " warn"
256265uninhabited_references = " warn"
@@ -265,6 +274,7 @@ unnecessary_semicolon = "warn"
265274unnecessary_struct_initialization = " warn"
266275unnecessary_wraps = " warn"
267276unnested_or_patterns = " warn"
277+ unused_async = " warn"
268278unused_peekable = " warn"
269279unused_rounding = " warn"
270280unused_self = " warn"
@@ -278,8 +288,11 @@ wildcard_dependencies = "warn"
278288wildcard_imports = " warn"
279289zero_sized_map_values = " warn"
280290
281- manual_range_contains = " allow" # this is better on 'allow'
282- map_unwrap_or = " allow" # this is better on 'allow'
291+ assigning_clones = " allow" # No please
292+ manual_range_contains = " allow" # this one is just worse imho
293+ map_unwrap_or = " allow" # so is this one
294+ self_named_module_files = " allow" # Disabled waiting on https://github.com/rust-lang/rust-clippy/issues/9602
295+ significant_drop_tightening = " allow" # Too many false positives
283296
284297
285298[workspace .metadata .cargo-shear ]
0 commit comments