# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.76" name = "advent-of-code" version = "2022.0.66" authors = ["Fredrik Fornwall "] description = "Solutions to Advent of Code" homepage = "https://github.com/fornwall/advent-of-code" documentation = "https://docs.rs/advent-of-code/" readme = "README.md" keywords = ["advent-of-code"] categories = [ "algorithms", "rust-patterns", ] license = "MIT" repository = "https://github.com/fornwall/advent-of-code" [lib] name = "advent_of_code" bench = false [[bin]] name = "advent-of-code" bench = false doc = false [[bench]] name = "benchmark" harness = false [[bench]] name = "iai" harness = false [dependencies.allocation-counter] version = "0" optional = true [dependencies.bytemuck] version = "1" optional = true [dependencies.pollster] version = "0" optional = true [dependencies.wgpu] version = "0" optional = true [dev-dependencies.criterion] version = "0" features = [] default-features = false [features] count-allocations = ["allocation-counter"] debug-output = [] simd = [] visualization = [] webgpu-compute = [ "bytemuck", "pollster", "wgpu", ] [lints.clippy] await_holding_lock = "deny" branches_sharing_code = "deny" cargo = "deny" cast_lossless = "deny" char_lit_as_u8 = "deny" checked_conversions = "deny" clear_with_drain = "deny" clone_on_ref_ptr = "deny" dbg_macro = "deny" debug_assert_with_mut_call = "deny" default_union_representation = "deny" disallowed_methods = "deny" disallowed_script_idents = "deny" disallowed_types = "deny" doc_link_with_quotes = "deny" doc_markdown = "deny" empty_enum = "deny" empty_line_after_outer_attr = "deny" enum_glob_use = "deny" equatable_if_let = "deny" expect_used = "deny" expl_impl_clone_on_copy = "deny" explicit_deref_methods = "deny" explicit_into_iter_loop = "deny" fallible_impl_from = "deny" filter_map_next = "deny" flat_map_option = "deny" float_cmp_const = "deny" fn_params_excessive_bools = "deny" fn_to_numeric_cast_any = "deny" from_iter_instead_of_collect = "deny" if_let_mutex = "deny" if_not_else = "deny" implicit_clone = "deny" imprecise_flops = "deny" index_refutable_slice = "deny" inefficient_to_string = "deny" invalid_upcast_comparisons = "deny" items_after_statements = "deny" iter_not_returning_iterator = "deny" large_digit_groups = "deny" large_include_file = "deny" large_stack_arrays = "deny" large_types_passed_by_value = "deny" let_unit_value = "deny" linkedlist = "deny" lossy_float_literal = "deny" macro_use_imports = "deny" manual_filter_map = "deny" manual_instant_elapsed = "deny" manual_let_else = "deny" manual_ok_or = "deny" map_flatten = "deny" map_unwrap_or = "deny" match_same_arms = "deny" match_wild_err_arm = "deny" mem_forget = "deny" mismatched_target_os = "deny" missing_enforced_import_renames = "deny" mod_module_files = "deny" mut_mut = "deny" mutex_integer = "deny" needless_borrow = "deny" needless_continue = "deny" needless_for_each = "deny" needless_pass_by_ref_mut = "deny" needless_pass_by_value = "deny" negative_feature_names = "deny" nonstandard_macro_braces = "deny" nursery = "deny" option_if_let_else = "deny" option_option = "deny" path_buf_push_overwrite = "deny" print_stderr = "deny" print_stdout = "deny" ptr_as_ptr = "deny" ptr_cast_constness = "deny" rc_mutex = "deny" readonly_write_lock = "deny" redundant_closure_for_method_calls = "deny" ref_option_ref = "deny" rest_pat_in_fully_bound_structs = "deny" same_functions_in_if_condition = "deny" semicolon_if_nothing_returned = "deny" similar_names = "deny" single_match_else = "deny" string_add_assign = "deny" string_lit_as_bytes = "deny" string_lit_chars_any = "deny" string_to_string = "deny" todo = "deny" trailing_empty_array = "deny" trait_duplication_in_bounds = "deny" transmute_ptr_to_ptr = "deny" trivially_copy_pass_by_ref = "deny" undocumented_unsafe_blocks = "deny" unimplemented = "deny" unnecessary_box_returns = "deny" unnecessary_safety_comment = "deny" unnecessary_safety_doc = "deny" unnecessary_self_imports = "deny" unnested_or_patterns = "deny" unreadable_literal = "deny" unseparated_literal_suffix = "deny" unused_self = "deny" unwrap_used = "deny" use_self = "deny" useless_let_if_seq = "deny" useless_transmute = "deny" verbose_file_reads = "deny" zero_sized_map_values = "deny" [lints.rust] future_incompatible = "warn" nonstandard_style = "warn" rust_2021_compatibility = "forbid" single_use_lifetimes = "warn" trivial_numeric_casts = "forbid" unused_lifetimes = "forbid"