Files
lint-policy/lints/1.97.toml
T

1076 lines
32 KiB
TOML

[workspace.lints.clippy]
absolute_paths = "allow"
absurd_extreme_comparisons = "deny"
alloc_instead_of_core = "allow"
allow_attributes = "allow"
allow_attributes_without_reason = "allow"
almost_complete_range = "warn"
almost_swapped = "deny"
approx_constant = "deny"
arbitrary_source_item_ordering = "allow"
arc_with_non_send_sync = "warn"
arithmetic_side_effects = "allow"
as_conversions = "allow"
as_pointer_underscore = "allow"
as_ptr_cast_mut = "allow"
as_underscore = "allow"
assertions_on_constants = "warn"
assertions_on_result_states = "allow"
assign_op_pattern = "warn"
assigning_clones = "allow"
async_yields_async = "deny"
await_holding_invalid_type = "warn"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
bad_bit_mask = "deny"
big_endian_bytes = "allow"
bind_instead_of_map = "warn"
blanket_clippy_restriction_lints = "warn"
blocks_in_conditions = "warn"
bool_assert_comparison = "warn"
bool_comparison = "warn"
bool_to_int_with_if = "allow"
borrow_as_ptr = "allow"
borrow_deref_ref = "warn"
borrow_interior_mutable_const = "warn"
borrowed_box = "warn"
box_collection = "warn"
box_default = "warn"
boxed_local = "warn"
branches_sharing_code = "allow"
builtin_type_shadow = "warn"
byte_char_slices = "warn"
bytes_count_to_len = "warn"
bytes_nth = "warn"
cargo_common_metadata = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_abs_to_unsigned = "warn"
cast_enum_constructor = "warn"
cast_enum_truncation = "warn"
cast_lossless = "allow"
cast_nan_to_int = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
cast_slice_different_sizes = "deny"
cast_slice_from_raw_parts = "warn"
cfg_not_test = "allow"
char_indices_as_byte_indices = "deny"
char_lit_as_u8 = "warn"
chars_last_cmp = "warn"
chars_next_cmp = "warn"
checked_conversions = "allow"
clear_with_drain = "allow"
clone_on_copy = "warn"
clone_on_ref_ptr = "allow"
cloned_instead_of_copied = "allow"
cloned_ref_to_slice_refs = "warn"
cmp_null = "warn"
cmp_owned = "warn"
coerce_container_to_any = "allow"
cognitive_complexity = "allow"
collapsible_else_if = "allow"
collapsible_if = "warn"
collapsible_match = "warn"
collapsible_str_replace = "warn"
collection_is_never_read = "allow"
comparison_chain = "allow"
comparison_to_empty = "warn"
confusing_method_to_numeric_cast = "warn"
const_is_empty = "warn"
copy_iterator = "allow"
crate_in_macro_def = "warn"
create_dir = "allow"
crosspointer_transmute = "warn"
dbg_macro = "allow"
debug_assert_with_mut_call = "allow"
decimal_bitwise_operands = "allow"
decimal_literal_representation = "allow"
declare_interior_mutable_const = "warn"
default_constructed_unit_structs = "warn"
default_instead_of_iter_empty = "warn"
default_numeric_fallback = "allow"
default_trait_access = "allow"
default_union_representation = "allow"
deprecated_cfg_attr = "warn"
deprecated_clippy_cfg_attr = "warn"
deprecated_semver = "deny"
deref_addrof = "warn"
deref_by_slicing = "allow"
derivable_impls = "warn"
derive_ord_xor_partial_ord = "deny"
derive_partial_eq_without_eq = "allow"
derived_hash_with_manual_eq = "deny"
disallowed_fields = "warn"
disallowed_macros = "warn"
disallowed_methods = "warn"
disallowed_names = "warn"
disallowed_script_idents = "allow"
disallowed_types = "warn"
diverging_sub_expression = "warn"
doc_broken_link = "allow"
doc_comment_double_space_linebreaks = "allow"
doc_include_without_cfg = "allow"
doc_lazy_continuation = "warn"
doc_link_code = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
doc_nested_refdefs = "warn"
doc_overindented_list_items = "warn"
doc_paragraphs_missing_punctuation = "allow"
doc_suspicious_footnotes = "warn"
double_comparisons = "warn"
double_ended_iterator_last = "warn"
double_must_use = "warn"
double_parens = "warn"
drain_collect = "warn"
drop_non_drop = "warn"
duplicate_mod = "warn"
duplicate_underscore_argument = "warn"
duplicated_attributes = "warn"
duration_suboptimal_units = "allow"
duration_subsec = "warn"
eager_transmute = "deny"
elidable_lifetime_names = "allow"
else_if_without_else = "allow"
empty_docs = "warn"
empty_drop = "allow"
empty_enum_variants_with_brackets = "allow"
empty_enums = "allow"
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
empty_loop = "warn"
empty_structs_with_brackets = "allow"
enum_clike_unportable_variant = "deny"
enum_glob_use = "allow"
enum_variant_names = "warn"
eq_op = "deny"
equatable_if_let = "allow"
erasing_op = "deny"
err_expect = "warn"
error_impl_error = "allow"
excessive_nesting = "warn"
excessive_precision = "warn"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
exit = "allow"
expect_fun_call = "warn"
expect_used = "allow"
expl_impl_clone_on_copy = "allow"
explicit_auto_deref = "warn"
explicit_counter_loop = "warn"
explicit_deref_methods = "allow"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
explicit_write = "warn"
extend_with_drain = "warn"
extra_unused_lifetimes = "warn"
extra_unused_type_parameters = "warn"
fallible_impl_from = "allow"
field_reassign_with_default = "warn"
field_scoped_visibility_modifiers = "allow"
filetype_is_file = "allow"
filter_map_bool_then = "warn"
filter_map_identity = "warn"
filter_map_next = "allow"
filter_next = "warn"
flat_map_identity = "warn"
flat_map_option = "allow"
float_arithmetic = "allow"
float_cmp = "allow"
float_cmp_const = "allow"
float_equality_without_abs = "warn"
fn_params_excessive_bools = "allow"
fn_to_numeric_cast = "warn"
fn_to_numeric_cast_any = "allow"
fn_to_numeric_cast_with_truncation = "warn"
for_kv_map = "warn"
forget_non_drop = "warn"
format_collect = "allow"
format_in_format_args = "warn"
format_push_string = "allow"
four_forward_slashes = "warn"
from_iter_instead_of_collect = "allow"
from_over_into = "warn"
from_raw_with_void_ptr = "warn"
from_str_radix_10 = "warn"
future_not_send = "allow"
get_first = "warn"
get_last_with_len = "warn"
get_unwrap = "allow"
host_endian_bytes = "allow"
identity_op = "warn"
if_let_mutex = "deny"
if_not_else = "allow"
if_same_then_else = "warn"
if_then_some_else_none = "allow"
ifs_same_cond = "deny"
ignore_without_reason = "allow"
ignored_unit_patterns = "allow"
impl_hash_borrow_with_str_and_bytes = "deny"
impl_trait_in_params = "allow"
implicit_clone = "allow"
implicit_hasher = "allow"
implicit_return = "allow"
implicit_saturating_add = "warn"
implicit_saturating_sub = "warn"
implied_bounds_in_impls = "warn"
impossible_comparisons = "deny"
imprecise_flops = "allow"
incompatible_msrv = "warn"
inconsistent_digit_grouping = "warn"
inconsistent_struct_constructor = "allow"
index_refutable_slice = "allow"
indexing_slicing = "allow"
ineffective_bit_mask = "deny"
ineffective_open_options = "warn"
inefficient_to_string = "allow"
infallible_destructuring_match = "warn"
infallible_try_from = "warn"
infinite_iter = "deny"
infinite_loop = "allow"
inherent_to_string = "warn"
inherent_to_string_shadow_display = "deny"
init_numbered_fields = "warn"
inline_always = "allow"
inline_asm_x86_att_syntax = "allow"
inline_asm_x86_intel_syntax = "allow"
inline_fn_without_body = "deny"
inline_modules = "allow"
inline_trait_bounds = "allow"
inspect_for_each = "warn"
int_plus_one = "warn"
integer_division = "allow"
integer_division_remainder_used = "allow"
into_iter_on_ref = "warn"
into_iter_without_iter = "allow"
invalid_regex = "deny"
invalid_upcast_comparisons = "allow"
inverted_saturating_sub = "deny"
invisible_characters = "deny"
io_other_error = "warn"
ip_constant = "allow"
is_digit_ascii_radix = "warn"
items_after_statements = "allow"
items_after_test_module = "warn"
iter_cloned_collect = "warn"
iter_count = "warn"
iter_filter_is_ok = "allow"
iter_filter_is_some = "allow"
iter_kv_map = "warn"
iter_next_loop = "deny"
iter_next_slice = "warn"
iter_not_returning_iterator = "allow"
iter_nth = "warn"
iter_nth_zero = "warn"
iter_on_empty_collections = "allow"
iter_on_single_items = "allow"
iter_out_of_bounds = "warn"
iter_over_hash_type = "allow"
iter_overeager_cloned = "warn"
iter_skip_next = "warn"
iter_skip_zero = "deny"
iter_with_drain = "allow"
iter_without_into_iter = "allow"
iterator_step_by_zero = "deny"
join_absolute_paths = "warn"
just_underscores_and_digits = "warn"
large_const_arrays = "warn"
large_digit_groups = "allow"
large_enum_variant = "warn"
large_futures = "allow"
large_include_file = "allow"
large_stack_arrays = "allow"
large_stack_frames = "allow"
large_types_passed_by_value = "allow"
legacy_numeric_constants = "warn"
len_without_is_empty = "warn"
len_zero = "warn"
let_and_return = "warn"
let_underscore_future = "warn"
let_underscore_lock = "deny"
let_underscore_must_use = "allow"
let_underscore_untyped = "allow"
let_unit_value = "warn"
let_with_type_underscore = "warn"
lines_filter_map_ok = "warn"
linkedlist = "allow"
lint_groups_priority = "deny"
literal_string_with_formatting_args = "allow"
little_endian_bytes = "allow"
lossy_float_literal = "allow"
macro_metavars_in_unsafe = "warn"
macro_use_imports = "allow"
main_recursion = "warn"
manual_abs_diff = "warn"
manual_assert = "allow"
manual_assert_eq = "allow"
manual_async_fn = "warn"
manual_bits = "warn"
manual_c_str_literals = "warn"
manual_checked_ops = "warn"
manual_clamp = "warn"
manual_clear = "warn"
manual_contains = "warn"
manual_dangling_ptr = "warn"
manual_div_ceil = "warn"
manual_filter = "warn"
manual_filter_map = "warn"
manual_find = "warn"
manual_find_map = "warn"
manual_flatten = "warn"
manual_hash_one = "warn"
manual_ignore_case_cmp = "warn"
manual_ilog2 = "allow"
manual_inspect = "warn"
manual_instant_elapsed = "allow"
manual_is_ascii_check = "warn"
manual_is_finite = "warn"
manual_is_infinite = "warn"
manual_is_multiple_of = "warn"
manual_is_power_of_two = "allow"
manual_is_variant_and = "allow"
manual_let_else = "allow"
manual_main_separator_str = "warn"
manual_map = "warn"
manual_memcpy = "warn"
manual_midpoint = "allow"
manual_next_back = "warn"
manual_non_exhaustive = "warn"
manual_noop_waker = "warn"
manual_ok_err = "warn"
manual_ok_or = "warn"
manual_option_as_slice = "warn"
manual_option_zip = "warn"
manual_pattern_char_comparison = "warn"
manual_pop_if = "warn"
manual_range_contains = "warn"
manual_range_patterns = "warn"
manual_rem_euclid = "warn"
manual_repeat_n = "warn"
manual_retain = "warn"
manual_rotate = "warn"
manual_saturating_arithmetic = "warn"
manual_slice_fill = "warn"
manual_slice_size_calculation = "warn"
manual_split_once = "warn"
manual_str_repeat = "warn"
manual_string_new = "allow"
manual_strip = "warn"
manual_swap = "warn"
manual_take = "warn"
manual_try_fold = "warn"
manual_unwrap_or = "warn"
manual_unwrap_or_default = "warn"
manual_while_let_some = "warn"
many_single_char_names = "allow"
map_all_any_identity = "warn"
map_clone = "warn"
map_collect_result_unit = "warn"
map_entry = "warn"
map_err_ignore = "allow"
map_flatten = "warn"
map_identity = "warn"
map_unwrap_or = "allow"
map_with_unused_argument_over_ranges = "allow"
match_as_ref = "warn"
match_bool = "allow"
match_like_matches_macro = "warn"
match_overlapping_arm = "warn"
match_ref_pats = "warn"
match_result_ok = "warn"
match_same_arms = "allow"
match_single_binding = "warn"
match_str_case_mismatch = "deny"
match_wild_err_arm = "allow"
match_wildcard_for_single_variants = "allow"
maybe_infinite_iter = "allow"
mem_forget = "allow"
mem_replace_option_with_none = "warn"
mem_replace_option_with_some = "warn"
mem_replace_with_default = "warn"
mem_replace_with_uninit = "deny"
min_ident_chars = "allow"
min_max = "deny"
mismatching_type_param_order = "allow"
misnamed_getters = "warn"
misrefactored_assign_op = "warn"
missing_assert_message = "allow"
missing_asserts_for_indexing = "allow"
missing_const_for_fn = "allow"
missing_const_for_thread_local = "warn"
missing_docs_in_private_items = "allow"
missing_enforced_import_renames = "warn"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_inline_in_public_items = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "warn"
missing_spin_loop = "warn"
missing_trait_methods = "allow"
missing_transmute_annotations = "warn"
mistyped_literal_suffixes = "deny"
mixed_attributes_style = "warn"
mixed_case_hex_literals = "warn"
mixed_read_write_in_expression = "allow"
mod_module_files = "allow"
module_inception = "warn"
module_name_repetitions = "allow"
modulo_arithmetic = "allow"
modulo_one = "deny"
multi_assignments = "warn"
multiple_bound_locations = "warn"
multiple_crate_versions = "allow"
multiple_inherent_impl = "allow"
multiple_unsafe_ops_per_block = "allow"
must_use_candidate = "allow"
must_use_unit = "warn"
mut_from_ref = "deny"
mut_mut = "allow"
mut_mutex_lock = "warn"
mut_range_bound = "warn"
mutable_key_type = "warn"
mutex_atomic = "allow"
mutex_integer = "allow"
naive_bytecount = "allow"
needless_arbitrary_self_type = "warn"
needless_as_bytes = "warn"
needless_bitwise_bool = "allow"
needless_bool = "warn"
needless_bool_assign = "warn"
needless_borrow = "warn"
needless_borrowed_reference = "warn"
needless_borrows_for_generic_args = "warn"
needless_character_iteration = "warn"
needless_collect = "allow"
needless_continue = "allow"
needless_doctest_main = "warn"
needless_else = "warn"
needless_for_each = "allow"
needless_ifs = "warn"
needless_late_init = "warn"
needless_lifetimes = "warn"
needless_match = "warn"
needless_maybe_sized = "warn"
needless_option_as_deref = "warn"
needless_option_take = "warn"
needless_parens_on_range_literals = "warn"
needless_pass_by_ref_mut = "allow"
needless_pass_by_value = "allow"
needless_pub_self = "warn"
needless_question_mark = "warn"
needless_range_loop = "warn"
needless_raw_string_hashes = "allow"
needless_raw_strings = "allow"
needless_return = "warn"
needless_return_with_question_mark = "warn"
needless_splitn = "warn"
needless_type_cast = "allow"
needless_update = "warn"
neg_cmp_op_on_partial_ord = "warn"
neg_multiply = "warn"
negative_feature_names = "allow"
never_loop = "deny"
new_ret_no_self = "warn"
new_without_default = "warn"
no_effect = "warn"
no_effect_replace = "warn"
no_effect_underscore_binding = "allow"
no_mangle_with_rust_abi = "allow"
non_ascii_literal = "allow"
non_canonical_clone_impl = "warn"
non_canonical_partial_ord_impl = "warn"
non_minimal_cfg = "warn"
non_octal_unix_permissions = "deny"
non_send_fields_in_send_ty = "allow"
non_std_lazy_statics = "allow"
non_zero_suggestions = "allow"
nonminimal_bool = "allow"
nonsensical_open_options = "deny"
nonstandard_macro_braces = "allow"
not_unsafe_ptr_arg_deref = "deny"
obfuscated_if_else = "warn"
octal_escapes = "warn"
ok_expect = "warn"
only_used_in_recursion = "warn"
op_ref = "warn"
option_as_ref_cloned = "allow"
option_as_ref_deref = "warn"
option_env_unwrap = "deny"
option_filter_map = "warn"
option_if_let_else = "allow"
option_map_or_none = "warn"
option_map_unit_fn = "warn"
option_option = "allow"
or_fun_call = "allow"
or_then_unwrap = "warn"
out_of_bounds_indexing = "deny"
overly_complex_bool_expr = "allow"
owned_cow = "warn"
panic = "allow"
panic_in_result_fn = "allow"
panicking_overflow_checks = "deny"
panicking_unwrap = "deny"
partial_pub_fields = "allow"
partialeq_ne_impl = "warn"
partialeq_to_none = "warn"
path_buf_push_overwrite = "allow"
path_ends_with_ext = "warn"
pathbuf_init_then_push = "allow"
pattern_type_mismatch = "allow"
permissions_set_readonly_false = "warn"
pointer_format = "allow"
pointers_in_nomem_asm_block = "warn"
possible_missing_comma = "deny"
possible_missing_else = "warn"
precedence = "warn"
precedence_bits = "allow"
print_in_format_impl = "warn"
print_literal = "warn"
print_stderr = "allow"
print_stdout = "allow"
print_with_newline = "warn"
println_empty_string = "warn"
ptr_arg = "warn"
ptr_as_ptr = "allow"
ptr_cast_constness = "allow"
ptr_eq = "warn"
ptr_offset_by_literal = "allow"
ptr_offset_with_cast = "warn"
pub_underscore_fields = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
pub_without_shorthand = "allow"
question_mark = "warn"
question_mark_used = "allow"
range_minus_one = "allow"
range_plus_one = "allow"
range_zip_with_len = "warn"
rc_buffer = "allow"
rc_clone_in_vec_init = "warn"
rc_mutex = "allow"
read_line_without_trim = "deny"
read_zero_byte_vec = "allow"
readonly_write_lock = "warn"
recursive_format_impl = "deny"
redundant_allocation = "warn"
redundant_as_str = "warn"
redundant_async_block = "warn"
redundant_at_rest_pattern = "warn"
redundant_clone = "allow"
redundant_closure = "warn"
redundant_closure_call = "warn"
redundant_closure_for_method_calls = "allow"
redundant_comparisons = "deny"
redundant_else = "allow"
redundant_feature_names = "allow"
redundant_field_names = "warn"
redundant_guards = "warn"
redundant_iter_cloned = "warn"
redundant_locals = "warn"
redundant_pattern = "warn"
redundant_pattern_matching = "warn"
redundant_pub_crate = "allow"
redundant_slicing = "warn"
redundant_static_lifetimes = "warn"
redundant_test_prefix = "allow"
redundant_type_annotations = "allow"
ref_as_ptr = "allow"
ref_binding_to_reference = "allow"
ref_option = "allow"
ref_option_ref = "allow"
ref_patterns = "allow"
regex_creation_in_loops = "warn"
renamed_function_params = "allow"
repeat_once = "warn"
repeat_vec_with_capacity = "warn"
replace_box = "warn"
repr_packed_without_abi = "warn"
reserve_after_initialization = "warn"
rest_pat_in_fully_bound_structs = "allow"
result_filter_map = "warn"
result_large_err = "warn"
result_map_or_into_option = "warn"
result_map_unit_fn = "warn"
result_unit_err = "warn"
return_and_then = "allow"
return_self_not_must_use = "allow"
reversed_empty_ranges = "deny"
same_functions_in_if_condition = "allow"
same_item_push = "warn"
same_length_and_capacity = "allow"
same_name_method = "allow"
search_is_some = "allow"
seek_from_current = "warn"
seek_to_start_instead_of_rewind = "warn"
self_assignment = "deny"
self_named_constructors = "warn"
self_named_module_files = "allow"
self_only_used_in_recursion = "allow"
semicolon_if_nothing_returned = "allow"
semicolon_inside_block = "allow"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
serde_api_misuse = "deny"
set_contains_or_insert = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
short_circuit_statement = "warn"
should_implement_trait = "warn"
should_panic_without_expect = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_call_fn = "allow"
single_char_add_str = "warn"
single_char_lifetime_names = "allow"
single_char_pattern = "allow"
single_component_path_imports = "warn"
single_element_loop = "warn"
single_match = "warn"
single_match_else = "allow"
single_option_map = "allow"
single_range_in_vec_init = "warn"
size_of_in_element_count = "deny"
size_of_ref = "warn"
skip_while_next = "warn"
sliced_string_as_bytes = "warn"
slow_vector_initialization = "warn"
some_filter = "warn"
stable_sort_primitive = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"
str_split_at_newline = "allow"
str_to_string = "allow"
string_add = "allow"
string_add_assign = "allow"
string_extend_chars = "warn"
string_from_utf8_as_bytes = "warn"
string_lit_as_bytes = "allow"
string_lit_chars_any = "allow"
string_slice = "allow"
strlen_on_c_strings = "warn"
struct_excessive_bools = "allow"
struct_field_names = "allow"
suboptimal_flops = "allow"
suspicious_arithmetic_impl = "warn"
suspicious_assignment_formatting = "warn"
suspicious_command_arg_space = "warn"
suspicious_doc_comments = "warn"
suspicious_else_formatting = "warn"
suspicious_map = "warn"
suspicious_op_assign_impl = "warn"
suspicious_open_options = "warn"
suspicious_operation_groupings = "allow"
suspicious_splitn = "deny"
suspicious_to_owned = "warn"
suspicious_unary_op_formatting = "warn"
suspicious_xor_used_as_pow = "allow"
swap_ptr_to_ref = "warn"
swap_with_temporary = "warn"
tabs_in_doc_comments = "warn"
temporary_assignment = "warn"
test_attr_in_doctest = "warn"
tests_outside_test_module = "allow"
to_digit_is_some = "warn"
to_string_in_format_args = "warn"
to_string_trait_impl = "warn"
todo = "allow"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "warn"
too_many_lines = "allow"
toplevel_ref_arg = "warn"
trailing_empty_array = "allow"
trait_duplication_in_bounds = "allow"
transmute_bytes_to_str = "warn"
transmute_int_to_bool = "warn"
transmute_int_to_non_zero = "warn"
transmute_null_to_fn = "deny"
transmute_ptr_to_ptr = "allow"
transmute_ptr_to_ref = "warn"
transmute_undefined_repr = "allow"
transmutes_expressible_as_ptr_casts = "warn"
transmuting_null = "deny"
trim_split_whitespace = "warn"
trivial_regex = "allow"
trivially_copy_pass_by_ref = "allow"
try_err = "allow"
tuple_array_conversions = "allow"
type_complexity = "warn"
type_id_on_box = "warn"
type_repetition_in_bounds = "allow"
unbuffered_bytes = "warn"
unchecked_time_subtraction = "allow"
unconditional_recursion = "warn"
undocumented_unsafe_blocks = "allow"
unicode_not_nfc = "allow"
unimplemented = "allow"
uninhabited_references = "allow"
uninit_assumed_init = "deny"
uninit_vec = "deny"
uninlined_format_args = "allow"
unit_arg = "warn"
unit_cmp = "deny"
unit_hash = "deny"
unit_return_expecting_ord = "deny"
unnecessary_box_returns = "allow"
unnecessary_cast = "warn"
unnecessary_clippy_cfg = "warn"
unnecessary_debug_formatting = "allow"
unnecessary_fallible_conversions = "warn"
unnecessary_filter_map = "warn"
unnecessary_find_map = "warn"
unnecessary_first_then_check = "warn"
unnecessary_fold = "warn"
unnecessary_get_then_check = "warn"
unnecessary_join = "allow"
unnecessary_lazy_evaluations = "warn"
unnecessary_literal_bound = "allow"
unnecessary_literal_unwrap = "warn"
unnecessary_map_on_constructor = "warn"
unnecessary_map_or = "warn"
unnecessary_min_or_max = "warn"
unnecessary_mut_passed = "warn"
unnecessary_operation = "warn"
unnecessary_option_map_or_else = "warn"
unnecessary_owned_empty_strings = "warn"
unnecessary_result_map_or_else = "warn"
unnecessary_safety_comment = "allow"
unnecessary_safety_doc = "allow"
unnecessary_self_imports = "allow"
unnecessary_semicolon = "allow"
unnecessary_sort_by = "warn"
unnecessary_struct_initialization = "allow"
unnecessary_to_owned = "warn"
unnecessary_trailing_comma = "allow"
unnecessary_unwrap = "warn"
unnecessary_wraps = "allow"
unneeded_field_pattern = "allow"
unneeded_struct_pattern = "warn"
unneeded_wildcard_pattern = "warn"
unnested_or_patterns = "allow"
unreachable = "allow"
unreadable_literal = "allow"
unsafe_derive_deserialize = "allow"
unsafe_removed_from_name = "warn"
unseparated_literal_suffix = "allow"
unsound_collection_transmute = "deny"
unused_async = "allow"
unused_enumerate_index = "warn"
unused_format_specs = "warn"
unused_io_amount = "deny"
unused_peekable = "allow"
unused_result_ok = "allow"
unused_rounding = "allow"
unused_self = "allow"
unused_trait_names = "allow"
unused_unit = "warn"
unusual_byte_groupings = "warn"
unwrap_in_result = "allow"
unwrap_or_default = "warn"
unwrap_used = "allow"
upper_case_acronyms = "warn"
use_debug = "allow"
use_self = "allow"
used_underscore_binding = "allow"
used_underscore_items = "allow"
useless_asref = "warn"
useless_attribute = "deny"
useless_borrows_in_formatting = "warn"
useless_concat = "warn"
useless_conversion = "warn"
useless_format = "warn"
useless_let_if_seq = "allow"
useless_nonzero_new_unchecked = "warn"
useless_transmute = "warn"
useless_vec = "warn"
vec_box = "warn"
vec_init_then_push = "warn"
vec_resize_to_zero = "deny"
verbose_bit_mask = "allow"
verbose_file_reads = "allow"
volatile_composites = "allow"
waker_clone_wake = "warn"
while_float = "allow"
while_immutable_condition = "deny"
while_let_loop = "warn"
while_let_on_iterator = "warn"
wildcard_dependencies = "allow"
wildcard_enum_match_arm = "allow"
wildcard_imports = "allow"
wildcard_in_or_patterns = "warn"
write_literal = "warn"
write_with_newline = "warn"
writeln_empty_string = "warn"
wrong_self_convention = "warn"
wrong_transmute = "deny"
zero_divided_by_zero = "warn"
zero_prefixed_literal = "warn"
zero_ptr = "warn"
zero_repeat_side_effects = "warn"
zero_sized_map_values = "allow"
zombie_processes = "warn"
zst_offset = "deny"
[workspace.lints.rust]
aarch64_softfloat_neon = "warn"
absolute_paths_not_starting_with_crate = "allow"
ambiguous_associated_items = "deny"
ambiguous_derive_helpers = "warn"
ambiguous_glob_imported_traits = "warn"
ambiguous_glob_imports = "deny"
ambiguous_glob_reexports = "warn"
ambiguous_import_visibilities = "warn"
ambiguous_negative_literals = "allow"
ambiguous_panic_imports = "warn"
ambiguous_wide_pointer_comparisons = "warn"
anonymous_parameters = "warn"
arithmetic_overflow = "deny"
array_into_iter = "warn"
asm_sub_register = "warn"
async_fn_in_trait = "warn"
bad_asm_style = "warn"
bare_trait_objects = "warn"
binary_asm_labels = "deny"
bindings_with_variant_name = "deny"
boxed_slice_into_iter = "warn"
break_with_label_and_loop = "warn"
clashing_extern_declarations = "warn"
closure_returning_async_block = "allow"
coherence_leak_check = "warn"
conflicting_repr_hints = "deny"
confusable_idents = "warn"
const_evaluatable_unchecked = "warn"
const_item_interior_mutations = "warn"
const_item_mutation = "warn"
dangerous_implicit_autorefs = "deny"
dangling_pointers_from_locals = "warn"
dangling_pointers_from_temporaries = "warn"
dead_code = "warn"
dead_code_pub_in_binary = "allow"
default_overrides_default_fields = "deny"
dependency_on_unit_never_type_fallback = "deny"
deprecated = "warn"
deprecated_in_future = "allow"
deprecated_llvm_intrinsic = "allow"
deprecated_safe_2024 = "allow"
deprecated_where_clause_location = "warn"
deref_into_dyn_supertrait = "allow"
deref_nullptr = "deny"
double_negations = "warn"
drop_bounds = "warn"
dropping_copy_types = "warn"
dropping_references = "warn"
duplicate_features = "deny"
duplicate_macro_attributes = "warn"
dyn_drop = "warn"
edition_2024_expr_fragment_specifier = "allow"
elided_lifetimes_in_associated_constant = "deny"
elided_lifetimes_in_paths = "allow"
ellipsis_inclusive_range_patterns = "warn"
enum_intrinsics_non_enums = "deny"
explicit_builtin_cfgs_in_flags = "deny"
explicit_outlives_requirements = "allow"
exported_private_dependencies = "warn"
ffi_unwind_calls = "allow"
float_literal_f32_fallback = "warn"
for_loops_over_fallibles = "warn"
forbidden_lint_groups = "warn"
forgetting_copy_types = "warn"
forgetting_references = "warn"
function_casts_as_integer = "warn"
function_item_references = "warn"
fuzzy_provenance_casts = "allow"
hidden_glob_reexports = "warn"
if_let_rescope = "allow"
ill_formed_attribute_input = "deny"
impl_trait_overcaptures = "allow"
impl_trait_redundant_captures = "allow"
improper_ctypes = "warn"
improper_ctypes_definitions = "warn"
improper_gpu_kernel_arg = "warn"
incomplete_features = "warn"
incomplete_include = "deny"
ineffective_unstable_trait_impl = "deny"
inline_no_sanitize = "warn"
integer_to_ptr_transmutes = "warn"
internal_eq_trait_method_impls = "warn"
internal_features = "warn"
invalid_atomic_ordering = "deny"
invalid_doc_attributes = "warn"
invalid_from_utf8 = "warn"
invalid_from_utf8_unchecked = "deny"
invalid_macro_export_arguments = "deny"
invalid_nan_comparisons = "warn"
invalid_null_arguments = "deny"
invalid_reference_casting = "deny"
invalid_type_param_default = "deny"
invalid_value = "warn"
irrefutable_let_patterns = "warn"
keyword_idents_2018 = "allow"
keyword_idents_2024 = "allow"
large_assignments = "warn"
late_bound_lifetime_arguments = "warn"
legacy_derive_helpers = "deny"
let_underscore_drop = "allow"
let_underscore_lock = "deny"
linker_info = "allow"
linker_messages = "warn"
long_running_const_eval = "deny"
lossy_provenance_casts = "allow"
macro_expanded_macro_exports_accessed_by_absolute_paths = "deny"
macro_use_extern_crate = "allow"
malformed_diagnostic_attributes = "warn"
malformed_diagnostic_format_literals = "warn"
map_unit_fn = "warn"
meta_variable_misuse = "allow"
mismatched_lifetime_syntaxes = "warn"
misplaced_diagnostic_attributes = "warn"
missing_abi = "warn"
missing_copy_implementations = "allow"
missing_debug_implementations = "allow"
missing_docs = "allow"
missing_gpu_kernel_export_name = "warn"
missing_unsafe_on_extern = "allow"
mixed_script_confusables = "warn"
multiple_supertrait_upcastable = "allow"
must_not_suspend = "allow"
mutable_transmutes = "deny"
named_arguments_used_positionally = "warn"
named_asm_labels = "deny"
never_type_fallback_flowing_into_unsafe = "deny"
no_mangle_const_items = "deny"
no_mangle_generic_items = "warn"
non_ascii_idents = "allow"
non_camel_case_types = "warn"
non_contiguous_range_endpoints = "warn"
non_exhaustive_omitted_patterns = "allow"
non_fmt_panics = "warn"
non_local_definitions = "warn"
non_shorthand_field_patterns = "warn"
non_snake_case = "warn"
non_upper_case_globals = "warn"
noop_method_call = "warn"
opaque_hidden_inferred_bound = "warn"
out_of_scope_macro_calls = "deny"
overflowing_literals = "deny"
overlapping_range_endpoints = "warn"
path_statements = "warn"
patterns_in_fns_without_body = "deny"
private_bounds = "warn"
private_interfaces = "warn"
proc_macro_derive_resolution_fallback = "deny"
ptr_to_integer_transmute_in_consts = "warn"
pub_use_of_private_extern_crate = "deny"
redundant_imports = "allow"
redundant_lifetimes = "allow"
redundant_semicolons = "warn"
refining_impl_trait_internal = "warn"
refining_impl_trait_reachable = "warn"
renamed_and_removed_lints = "warn"
repr_c_enums_larger_than_int = "warn"
repr_transparent_non_zst_fields = "deny"
resolving_to_items_shadowing_supertrait_items = "allow"
rtsan_nonblocking_async = "warn"
rust_2021_incompatible_closure_captures = "allow"
rust_2021_incompatible_or_patterns = "allow"
rust_2021_prefixes_incompatible_syntax = "allow"
rust_2021_prelude_collisions = "allow"
rust_2024_guarded_string_incompatible_syntax = "allow"
rust_2024_incompatible_pat = "allow"
rust_2024_prelude_collisions = "allow"
self_constructor_from_outer_item = "warn"
semicolon_in_expressions_from_macros = "deny"
shadowing_supertrait_items = "allow"
single_use_lifetimes = "allow"
special_module_name = "warn"
stable_features = "warn"
static_mut_refs = "warn"
suspicious_double_ref_op = "warn"
tail_call_track_caller = "warn"
tail_expr_drop_order = "allow"
test_unstable_lint = "deny"
text_direction_codepoint_in_comment = "deny"
text_direction_codepoint_in_literal = "deny"
trivial_bounds = "warn"
trivial_casts = "allow"
trivial_numeric_casts = "allow"
type_alias_bounds = "warn"
tyvar_behind_raw_pointer = "warn"
uncommon_codepoints = "warn"
unconditional_panic = "deny"
unconditional_recursion = "warn"
uncovered_param_in_projection = "warn"
undropped_manually_drops = "deny"
unexpected_cfgs = "warn"
unfulfilled_lint_expectations = "warn"
ungated_async_fn_track_caller = "warn"
uninhabited_static = "deny"
unit_bindings = "allow"
unknown_crate_types = "deny"
unknown_diagnostic_attributes = "warn"
unknown_lints = "warn"
unnameable_test_items = "warn"
unnameable_types = "allow"
unnecessary_transmutes = "warn"
unpredictable_function_pointer_comparisons = "warn"
unqualified_local_imports = "allow"
unreachable_cfg_select_predicates = "warn"
unreachable_code = "warn"
unreachable_patterns = "warn"
unreachable_pub = "allow"
unsafe_attr_outside_unsafe = "allow"
unsafe_code = "allow"
unsafe_op_in_unsafe_fn = "allow"
unstable_features = "allow"
unstable_name_collisions = "warn"
unstable_syntax_pre_expansion = "warn"
unsupported_calling_conventions = "warn"
unused_allocation = "warn"
unused_assignments = "warn"
unused_associated_type_bounds = "warn"
unused_attributes = "warn"
unused_braces = "warn"
unused_comparisons = "warn"
unused_crate_dependencies = "allow"
unused_doc_comments = "warn"
unused_extern_crates = "allow"
unused_features = "warn"
unused_import_braces = "allow"
unused_imports = "warn"
unused_labels = "warn"
unused_lifetimes = "allow"
unused_macro_rules = "allow"
unused_macros = "warn"
unused_must_use = "warn"
unused_mut = "warn"
unused_parens = "warn"
unused_qualifications = "allow"
unused_results = "allow"
unused_unsafe = "warn"
unused_variables = "warn"
unused_visibilities = "warn"
useless_deprecated = "deny"
useless_ptr_null_checks = "warn"
uses_power_alignment = "warn"
varargs_without_pattern = "deny"
variant_size_differences = "allow"
warnings = "warn"
while_true = "warn"
[workspace.lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"
invalid_codeblock_attributes = "warn"
invalid_html_tags = "warn"
invalid_rust_codeblocks = "warn"
missing_crate_level_docs = "allow"
missing_doc_code_examples = "allow"
private_doc_tests = "allow"
private_intra_doc_links = "warn"
redundant_explicit_links = "warn"
unescaped_backticks = "allow"