Skip to content

Commit 3d99461

Browse files
committed
lint: clippy::pedantic (init)
1 parent 09d7eff commit 3d99461

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

Cargo.toml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,77 @@ cargo = {level = "warn", priority = -1}
1616
print_stdout = "warn"
1717
print_stderr = "allow"
1818
dbg_macro = "warn"
19+
pedantic = {level = "warn", priority = -1}
20+
flat_map_option = "allow" # 1
21+
format_collect = "allow" # 1
22+
inefficient_to_string = "allow" # 1
23+
match_wild_err_arm = "allow" # 1
24+
maybe_infinite_iter = "allow" # 1
25+
missing_fields_in_debug = "allow" # 1
26+
same_functions_in_if_condition = "allow" # 1
27+
unnecessary_debug_formatting = "allow" # 1
28+
unreadable_literal = "allow" # 1
29+
implicit_clone = "allow" # 2
30+
inconsistent_struct_constructor = "allow" # 2
31+
match_bool = "allow" # 2
32+
no_mangle_with_rust_abi = "allow" # 2
33+
struct_excessive_bools = "allow" # 2
34+
struct_field_names = "allow" # 2
35+
unicode_not_nfc = "allow" # 2
36+
unused_self = "allow" # 2
37+
case_sensitive_file_extension_comparisons = "allow" # 3
38+
cloned_instead_of_copied = "allow" # 3
39+
ref_as_ptr = "allow" # 3
40+
unsafe_derive_deserialize = "allow" # 3
41+
doc_markdown = "allow" # 5
42+
match_wildcard_for_single_variants = "allow" # 5
43+
needless_continue = "allow" # 5
44+
range_plus_one = "allow" # 5
45+
if_not_else = "allow" # 6
46+
manual_let_else = "allow" # 6
47+
single_char_pattern = "allow" # 6
48+
needless_raw_string_hashes = "allow" # 7
49+
non_std_lazy_statics = "allow" # 7
50+
unnecessary_wraps = "allow" # 7
51+
unnested_or_patterns = "allow" # 8
52+
borrow_as_ptr = "allow" # 9
53+
explicit_iter_loop = "allow" # 9
54+
ignored_unit_patterns = "allow" # 9
55+
many_single_char_names = "allow" # 9
56+
single_match_else = "allow" # 11
57+
manual_string_new = "allow" # 12
58+
trivially_copy_pass_by_ref = "allow" # 12
59+
ptr_cast_constness = "allow" # 15
60+
redundant_else = "allow" # 15
61+
unnecessary_semicolon = "allow" # 15
62+
manual_assert = "allow" # 16
63+
inline_always = "allow" # 18
64+
from_iter_instead_of_collect = "allow" # 20
65+
default_trait_access = "allow" # 23
66+
format_push_string = "allow" # 27
67+
missing_panics_doc = "allow" # 37
68+
used_underscore_binding = "allow" # 39
69+
float_cmp = "allow" # 40
70+
map_unwrap_or = "allow" # 59
71+
return_self_not_must_use = "allow" # 61
72+
needless_pass_by_value = "allow" # 70
73+
items_after_statements = "allow" # 74
74+
redundant_closure_for_method_calls = "allow" # 75
75+
ptr_as_ptr = "allow" # 83
76+
similar_names = "allow" # 93
77+
enum_glob_use = "allow" # 96
78+
cast_possible_wrap = "allow" # 105
79+
too_many_lines = "allow" # 106
80+
wildcard_imports = "allow" # 134
81+
cast_precision_loss = "allow" # 172
82+
match_same_arms = "allow" # 176
83+
cast_sign_loss = "allow" # 190
84+
missing_errors_doc = "allow" # 224
85+
semicolon_if_nothing_returned = "allow" # 263
86+
must_use_candidate = "allow" # 301
87+
cast_possible_truncation = "allow" # 349
88+
cast_lossless = "allow" # 355
89+
1990

2091
[workspace.dependencies]
2192
base64 = "0.22.0"

0 commit comments

Comments
 (0)