Skip to content

Commit 4dfb133

Browse files
committed
Bump Rust version to 1.7.8
1 parent 37a00a7 commit 4dfb133

File tree

1 file changed

+84
-12
lines changed

1 file changed

+84
-12
lines changed

Cargo.toml

Lines changed: 84 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "aoc"
33
version = "2023.12.25"
44
edition = "2021"
5-
rust-version = "1.77"
5+
rust-version = "1.78"
66

77
[features]
88
frivolity = []
@@ -13,61 +13,78 @@ private_intra_doc_links = "allow"
1313
[lints.rust]
1414
absolute_paths_not_starting_with_crate = "warn"
1515
box_pointers = "warn"
16-
dead_code = "warn"
1716
elided_lifetimes_in_paths = "warn"
1817
explicit_outlives_requirements = "warn"
1918
ffi_unwind_calls = "warn"
20-
keyword_idents = "warn"
2119
let_underscore_drop = "warn"
2220
macro_use_extern_crate = "warn"
2321
meta_variable_misuse = "warn"
2422
missing_abi = "warn"
23+
missing_copy_implementations = "allow"
24+
missing_debug_implementations = "allow"
25+
missing_docs = "allow"
2526
non_ascii_idents = "warn"
26-
pointer_structural_match = "warn"
27-
private_bounds = "warn"
28-
private_interfaces = "warn"
27+
non_local_definitions = "warn"
2928
single_use_lifetimes = "warn"
3029
trivial_casts = "warn"
3130
trivial_numeric_casts = "warn"
31+
unit_bindings = "warn"
3232
unreachable_pub = "warn"
3333
unsafe_code = "warn"
3434
unsafe_op_in_unsafe_fn = "warn"
35+
unstable_features = "warn"
3536
unused_crate_dependencies = "warn"
3637
unused_extern_crates = "warn"
3738
unused_import_braces = "warn"
3839
unused_lifetimes = "warn"
3940
unused_macro_rules = "warn"
4041
unused_qualifications = "warn"
42+
unused_results = "allow"
4143
variant_size_differences = "warn"
4244

4345
[lints.clippy]
4446
absolute_paths = "warn"
4547
alloc_instead_of_core = "warn"
4648
allow_attributes = "warn"
49+
allow_attributes_without_reason = "warn"
50+
arithmetic_side_effects = "allow"
51+
as_conversions = "allow"
4752
as_underscore = "warn"
4853
assertions_on_result_states = "warn"
54+
big_endian_bytes = "allow"
4955
bool_to_int_with_if = "warn"
5056
borrow_as_ptr = "warn"
57+
cargo_common_metadata = "allow"
5158
case_sensitive_file_extension_comparisons = "warn"
59+
cast_lossless = "allow"
60+
cast_possible_truncation = "allow"
61+
cast_possible_wrap = "allow"
5262
cast_precision_loss = "warn"
5363
cast_ptr_alignment = "warn"
64+
cast_sign_loss = "allow"
5465
checked_conversions = "warn"
5566
clone_on_ref_ptr = "warn"
5667
cloned_instead_of_copied = "warn"
5768
copy_iterator = "warn"
5869
create_dir = "warn"
5970
dbg_macro = "warn"
6071
decimal_literal_representation = "warn"
72+
default_numeric_fallback = "allow"
6173
default_trait_access = "warn"
6274
default_union_representation = "warn"
75+
deref_by_slicing = "allow"
6376
disallowed_script_idents = "warn"
6477
doc_link_with_quotes = "warn"
6578
doc_markdown = "warn"
79+
else_if_without_else = "allow"
6680
empty_drop = "warn"
6781
empty_enum = "warn"
6882
empty_enum_variants_with_brackets = "warn"
6983
empty_structs_with_brackets = "warn"
84+
enum_glob_use = "allow"
7085
error_impl_error = "warn"
86+
exhaustive_enums = "allow"
87+
exhaustive_structs = "allow"
7188
exit = "warn"
7289
expect_used = "warn"
7390
expl_impl_clone_on_copy = "warn"
@@ -85,27 +102,40 @@ fn_to_numeric_cast_any = "warn"
85102
format_push_string = "warn"
86103
from_iter_instead_of_collect = "warn"
87104
get_unwrap = "warn"
105+
host_endian_bytes = "allow"
88106
if_not_else = "warn"
89107
if_then_some_else_none = "warn"
90108
ignored_unit_patterns = "warn"
91109
impl_trait_in_params = "warn"
92110
implicit_clone = "warn"
111+
implicit_hasher = "allow"
112+
implicit_return = "allow"
93113
inconsistent_struct_constructor = "warn"
94114
index_refutable_slice = "warn"
115+
indexing_slicing = "allow"
95116
inefficient_to_string = "warn"
96117
infinite_loop = "warn"
97118
inline_always = "warn"
119+
inline_asm_x86_att_syntax = "warn"
120+
inline_asm_x86_intel_syntax = "warn"
121+
integer_division = "allow"
122+
into_iter_without_iter = "warn"
98123
invalid_upcast_comparisons = "warn"
99124
items_after_statements = "warn"
100125
iter_filter_is_ok = "warn"
101126
iter_filter_is_some = "warn"
102127
iter_not_returning_iterator = "warn"
128+
iter_over_hash_type = "allow"
129+
iter_without_into_iter = "warn"
103130
large_digit_groups = "warn"
104131
large_futures = "warn"
105132
large_include_file = "warn"
106133
large_stack_arrays = "warn"
107134
large_types_passed_by_value = "warn"
135+
let_underscore_must_use = "allow"
136+
let_underscore_untyped = "warn"
108137
linkedlist = "warn"
138+
little_endian_bytes = "allow"
109139
lossy_float_literal = "warn"
110140
macro_use_imports = "warn"
111141
manual_assert = "warn"
@@ -115,43 +145,64 @@ manual_is_variant_and = "warn"
115145
manual_let_else = "warn"
116146
manual_ok_or = "warn"
117147
manual_string_new = "warn"
148+
many_single_char_names = "allow"
118149
map_err_ignore = "warn"
119150
map_unwrap_or = "warn"
120151
match_bool = "warn"
152+
match_on_vec_items = "allow"
121153
match_same_arms = "warn"
122154
match_wild_err_arm = "warn"
123155
match_wildcard_for_single_variants = "warn"
124156
maybe_infinite_iter = "warn"
125157
mem_forget = "warn"
158+
min_ident_chars = "allow"
126159
mismatching_type_param_order = "warn"
127-
missing_enforced_import_renames = "warn"
160+
missing_assert_message = "allow"
161+
missing_asserts_for_indexing = "allow"
162+
missing_docs_in_private_items = "allow"
128163
missing_errors_doc = "warn"
129164
missing_fields_in_debug = "warn"
165+
missing_inline_in_public_items = "allow"
166+
missing_panics_doc = "allow"
167+
missing_trait_methods = "allow"
130168
mixed_read_write_in_expression = "warn"
131169
mod_module_files = "warn"
170+
module_name_repetitions = "allow"
171+
modulo_arithmetic = "allow"
132172
multiple_crate_versions = "warn"
133173
multiple_inherent_impl = "warn"
134174
multiple_unsafe_ops_per_block = "warn"
175+
must_use_candidate = "allow"
135176
mut_mut = "warn"
136177
mutex_atomic = "warn"
178+
naive_bytecount = "allow"
137179
needless_bitwise_bool = "warn"
138180
needless_continue = "warn"
139181
needless_for_each = "warn"
140182
needless_pass_by_value = "warn"
183+
needless_raw_string_hashes = "warn"
141184
needless_raw_strings = "warn"
142185
negative_feature_names = "warn"
143186
no_effect_underscore_binding = "warn"
144187
no_mangle_with_rust_abi = "warn"
188+
non_ascii_literal = "allow"
145189
option_as_ref_cloned = "warn"
146190
option_option = "warn"
191+
panic = "allow"
147192
panic_in_result_fn = "warn"
148193
partial_pub_fields = "warn"
194+
pattern_type_mismatch = "allow"
195+
print_stderr = "allow"
196+
print_stdout = "allow"
149197
ptr_as_ptr = "warn"
150198
ptr_cast_constness = "warn"
151199
pub_underscore_fields = "warn"
152200
pub_use = "warn"
153201
pub_with_shorthand = "warn"
202+
pub_without_shorthand = "warn"
203+
question_mark_used = "allow"
154204
range_minus_one = "warn"
205+
range_plus_one = "allow"
155206
rc_buffer = "warn"
156207
rc_mutex = "warn"
157208
redundant_closure_for_method_calls = "warn"
@@ -161,21 +212,39 @@ redundant_type_annotations = "warn"
161212
ref_as_ptr = "warn"
162213
ref_binding_to_reference = "warn"
163214
ref_option_ref = "warn"
215+
ref_patterns = "warn"
164216
rest_pat_in_fully_bound_structs = "warn"
165217
return_self_not_must_use = "warn"
166218
same_functions_in_if_condition = "warn"
219+
same_name_method = "warn"
220+
self_named_module_files = "warn"
167221
semicolon_if_nothing_returned = "warn"
168222
semicolon_inside_block = "warn"
223+
semicolon_outside_block = "warn"
224+
separated_literal_suffix = "allow"
225+
shadow_reuse = "allow"
226+
shadow_same = "allow"
227+
shadow_unrelated = "allow"
169228
should_panic_without_expect = "warn"
229+
similar_names = "allow"
230+
single_call_fn = "allow"
231+
single_char_lifetime_names = "allow"
232+
single_char_pattern = "warn"
170233
single_match_else = "warn"
171234
stable_sort_primitive = "warn"
235+
std_instead_of_alloc = "allow"
236+
std_instead_of_core = "allow"
237+
str_split_at_newline = "warn"
238+
str_to_string = "allow"
172239
string_add = "warn"
173240
string_add_assign = "warn"
174241
string_lit_chars_any = "warn"
242+
string_slice = "allow"
243+
string_to_string = "allow"
175244
struct_excessive_bools = "warn"
176245
struct_field_names = "warn"
177-
str_split_at_newline = "warn"
178246
suspicious_xor_used_as_pow = "warn"
247+
tests_outside_test_module = "allow"
179248
todo = "warn"
180249
too_many_lines = "warn"
181250
transmute_ptr_to_ptr = "warn"
@@ -185,25 +254,28 @@ unchecked_duration_subtraction = "warn"
185254
undocumented_unsafe_blocks = "warn"
186255
unicode_not_nfc = "warn"
187256
unimplemented = "warn"
188-
uninhabited_references = "warn"
189257
uninlined_format_args = "warn"
190258
unnecessary_box_returns = "warn"
191-
unnecessary_fallible_conversions = "warn"
192259
unnecessary_join = "warn"
193260
unnecessary_safety_comment = "warn"
194261
unnecessary_safety_doc = "warn"
195262
unnecessary_self_imports = "warn"
196263
unnecessary_wraps = "warn"
197264
unneeded_field_pattern = "warn"
198265
unnested_or_patterns = "warn"
266+
unreachable = "allow"
267+
unreadable_literal = "allow"
199268
unsafe_derive_deserialize = "warn"
200269
unseparated_literal_suffix = "warn"
201270
unused_async = "warn"
202-
unused_enumerate_index = "warn"
203271
unused_self = "warn"
272+
unwrap_in_result = "allow"
273+
unwrap_used = "allow"
274+
use_debug = "warn"
204275
used_underscore_binding = "warn"
205276
verbose_bit_mask = "warn"
206277
verbose_file_reads = "warn"
207-
waker_clone_wake = "warn"
208278
wildcard_dependencies = "warn"
279+
wildcard_enum_match_arm = "allow"
280+
wildcard_imports = "allow"
209281
zero_sized_map_values = "warn"

0 commit comments

Comments
 (0)