@@ -17,58 +17,47 @@ license = "Apache-2.0 OR MIT"
1717repository = " https://github.com/linebender/parley"
1818
1919[workspace .lints ]
20- # LINEBENDER LINT SET - Cargo.toml - v2
20+ rust.unsafe_code = " deny"
21+
22+ # LINEBENDER LINT SET - Cargo.toml - v5
2123# See https://linebender.org/wiki/canonical-lints/
2224rust.keyword_idents_2024 = " forbid"
2325rust.non_ascii_idents = " forbid"
2426rust.non_local_definitions = " forbid"
2527rust.unsafe_op_in_unsafe_fn = " forbid"
2628
2729rust.elided_lifetimes_in_paths = " warn"
28- rust.let_underscore_drop = " warn"
2930rust.missing_debug_implementations = " warn"
3031rust.missing_docs = " warn"
31- rust.single_use_lifetimes = " warn"
3232rust.trivial_numeric_casts = " warn"
3333rust.unexpected_cfgs = " warn"
34- rust.unit_bindings = " warn"
3534rust.unnameable_types = " warn"
3635rust.unreachable_pub = " warn"
3736rust.unused_import_braces = " warn"
3837rust.unused_lifetimes = " warn"
3938rust.unused_macro_rules = " warn"
40- rust.unused_qualifications = " warn"
41- rust.variant_size_differences = " warn"
4239
43- clippy.allow_attributes = " warn"
40+ clippy.too_many_arguments = " allow"
41+
4442clippy.allow_attributes_without_reason = " warn"
4543clippy.cast_possible_truncation = " warn"
4644clippy.collection_is_never_read = " warn"
4745clippy.dbg_macro = " warn"
4846clippy.debug_assert_with_mut_call = " warn"
4947clippy.doc_markdown = " warn"
50- clippy.exhaustive_enums = " warn"
51- clippy.fn_to_numeric_cast_any = " forbid"
48+ clippy.fn_to_numeric_cast_any = " warn"
5249clippy.infinite_loop = " warn"
53- clippy.large_include_file = " warn"
5450clippy.large_stack_arrays = " warn"
55- clippy.match_same_arms = " warn"
5651clippy.mismatching_type_param_order = " warn"
5752clippy.missing_assert_message = " warn"
58- clippy.missing_errors_doc = " warn"
5953clippy.missing_fields_in_debug = " warn"
60- clippy.missing_panics_doc = " warn"
61- clippy.partial_pub_fields = " warn"
62- clippy.return_self_not_must_use = " warn"
6354clippy.same_functions_in_if_condition = " warn"
6455clippy.semicolon_if_nothing_returned = " warn"
6556clippy.shadow_unrelated = " warn"
6657clippy.should_panic_without_expect = " warn"
6758clippy.todo = " warn"
68- clippy.trivially_copy_pass_by_ref = " warn"
6959clippy.unseparated_literal_suffix = " warn"
7060clippy.use_self = " warn"
71- clippy.wildcard_imports = " warn"
7261
7362clippy.cargo_common_metadata = " warn"
7463clippy.negative_feature_names = " warn"
0 commit comments