@@ -48,18 +48,51 @@ syn = "2.0"
48
48
tempfile = " 3"
49
49
50
50
[workspace .lints .rust ]
51
- # unused_qualifications = "warn"
51
+ unused_qualifications = " warn"
52
52
53
53
[workspace .lints .clippy ]
54
- # disallowed-names = "allow"
55
- # manual-c-str-literals = "allow"
56
- # missing-safety-doc = "allow"
57
- # op-ref = "allow"
58
- # ptr-offset-with-cast = "allow"
59
- # too-many-arguments = "allow"
60
- # transmute-int-to-bool = "allow"
61
- # unnecessary-cast = "allow"
62
- # useless-transmute = "allow"
54
+ pedantic = { level = " warn" , priority = -1 }
55
+
56
+ cast_possible_truncation = " allow"
57
+ cast_possible_wrap = " allow"
58
+ cast_precision_loss = " allow"
59
+ cast_sign_loss = " allow"
60
+ checked_conversions = " allow"
61
+ default_trait_access = " allow"
62
+ explicit_into_iter_loop = " allow"
63
+ flat_map_option = " allow"
64
+ ignored_unit_patterns = " allow"
65
+ implicit_hasher = " allow"
66
+ inconsistent_struct_constructor = " allow"
67
+ items_after_statements = " allow"
68
+ maybe_infinite_iter = " allow"
69
+ missing_errors_doc = " allow"
70
+ missing_panics_doc = " allow"
71
+ module_name_repetitions = " allow"
72
+ must_use_candidate = " allow"
73
+ ptr_as_ptr = " allow"
74
+ redundant_closure_for_method_calls = " allow"
75
+ return_self_not_must_use = " allow"
76
+ # should_panic_without_expect = "allow"
77
+ similar_names = " allow"
78
+ struct_excessive_bools = " allow"
79
+ struct_field_names = " allow"
80
+ unnecessary_wraps = " allow"
81
+ unnested_or_patterns = " allow"
82
+ unreadable_literal = " allow"
83
+ used_underscore_binding = " allow"
84
+ wildcard_imports = " allow"
85
+
86
+ # TODO
87
+ borrow_as_ptr = " allow"
88
+ match_same_arms = " allow"
89
+ trivially_copy_pass_by_ref = " allow"
90
+ needless_pass_by_value = " allow"
91
+ unused_self = " allow"
92
+
93
+ # Theese seem to be ok to ignore for now
94
+ enum_glob_use = " allow"
95
+ too_many_lines = " allow"
63
96
64
97
# Config for 'cargo release'
65
98
[workspace .metadata .release ]
0 commit comments