/ Cargo.toml
Cargo.toml
1 cargo-features = ["codegen-backend"] 2 3 [package] 4 name = "atem-dots" 5 version = "0.3.1" 6 edition = "2024" 7 description = "A (dot)file manager" 8 authors = ["Jul Lang <jullanggit@proton.me>"] 9 repository = "https://github.com/jullanggit/dots" 10 readme = "README.md" 11 license = "MIT" 12 categories = ["command-line-utilities", "filesystem"] 13 keywords = ["dotfiles"] 14 15 [[bin]] 16 name = "dots" 17 path = "src/main.rs" 18 19 [dependencies] 20 anyhow = "1.0.96" 21 clap = { version = "4.5.11", features = ["derive"] } 22 23 [lints.clippy] 24 # Groups 25 cargo = "warn" 26 nursery = "warn" 27 pedantic = "warn" 28 29 derive_partial_eq_without_eq = { level = "allow", priority = 1 } # Dont always want eq on enums 30 31 expect_used = "warn" 32 unwrap_used = "warn" 33 panic = "warn" 34 35 # Restrict 36 # absolute_paths = "warn" 37 allow_attributes = "warn" 38 arithmetic_side_effects = "warn" 39 assertions_on_result_states = "warn" 40 clone_on_ref_ptr = "warn" 41 dbg_macro = "warn" 42 decimal_literal_representation = "warn" 43 deref_by_slicing = "warn" 44 empty_enum_variants_with_brackets = "warn" 45 empty_structs_with_brackets = "warn" 46 error_impl_error = "warn" 47 filetype_is_file = "warn" 48 fn_to_numeric_cast_any = "warn" 49 format_push_string = "warn" 50 get_unwrap = "warn" 51 if_then_some_else_none = "warn" 52 infinite_loop = "warn" 53 integer_division = "warn" 54 large_include_file = "warn" 55 let_underscore_must_use = "warn" 56 lossy_float_literal = "warn" 57 map_with_unused_argument_over_ranges = "warn" 58 multiple_inherent_impl = "warn" 59 multiple_unsafe_ops_per_block = "warn" 60 mutex_atomic = "warn" 61 needless_raw_strings = "warn" 62 non_zero_suggestions = "warn" 63 pathbuf_init_then_push = "warn" 64 pattern_type_mismatch = "warn" 65 rc_buffer = "warn" 66 rc_mutex = "warn" 67 redundant_type_annotations = "warn" 68 renamed_function_params = "warn" 69 rest_pat_in_fully_bound_structs = "warn" 70 same_name_method = "warn" 71 semicolon_inside_block = "warn" 72 str_to_string = "warn" 73 string_add = "warn" 74 string_to_string = "warn" 75 try_err = "warn" 76 undocumented_unsafe_blocks = "warn" 77 unneeded_field_pattern = "warn" 78 unseparated_literal_suffix = "warn" 79 unused_result_ok = "warn" 80 unused_trait_names = "warn" 81 verbose_file_reads = "warn" 82 wildcard_enum_match_arm = "warn"