diff --git a/Cargo.toml b/Cargo.toml index 394be101..1a13de8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,50 @@ # Keep alphabetically sorted [workspace.lints.rust] +elided_lifetimes_in_paths = "warn" explicit_outlives_requirements = "warn" +macro_use_extern_crate = "warn" +missing_abi = "warn" +noop_method_call = "warn" +pointer_structural_match = "warn" +unsafe_op_in_unsafe_fn = "warn" +unused_extern_crates = "warn" +unused_import_braces = "warn" +unused_macro_rules = "warn" unused_qualifications = "warn" # Keep alphabetically sorted [workspace.lints.clippy] +assertions_on_result_states = "warn" cloned_instead_of_copied = "warn" dbg_macro = "warn" +default_union_representation = "warn" +empty_drop = "warn" +filetype_is_file = "warn" +float_cmp_const = "warn" +get_unwrap = "warn" +lossy_float_literal = "warn" +mem_forget = "warn" +mutex_atomic = "warn" +negative_feature_names = "warn" +pub_without_shorthand = "warn" +rc_buffer = "warn" +rc_mutex = "warn" +redundant_feature_names = "warn" +redundant_type_annotations = "warn" +rest_pat_in_fully_bound_structs = "warn" +semicolon_inside_block = "warn" str_to_string = "warn" +string_lit_chars_any = "warn" +string_to_string = "warn" +suspicious_xor_used_as_pow = "warn" +tests_outside_test_module = "warn" +try_err = "warn" +unnecessary_safety_comment = "warn" +unnecessary_safety_doc = "warn" +unnecessary_self_imports = "warn" +unseparated_literal_suffix = "warn" +verbose_file_reads = "warn" +wildcard_dependencies = "warn" [package] name = "grapevine"