11[package ]
22name = " dix"
3- description = " Diff Nix"
43version = " 1.4.1"
5- license = " GPL-3.0-only"
64edition = " 2024"
5+ description = " Diff Nix"
76homepage = " https://github.com/faukah/dix"
87repository = " https://github.com/faukah/dix"
8+ license = " GPL-3.0-only"
99keywords = [ " nix" , " nixos" ]
1010
1111[dependencies ]
@@ -28,29 +28,21 @@ yansi = { features = [ "detect-env", "detect-tty" ], version = "1.
2828[dev-dependencies ]
2929proptest = " 1.6.0"
3030
31- [profile .release ]
32- lto = " fat"
33- opt-level = 3
34-
3531# See:
3632# <https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html>
3733[lints .clippy ]
38- cargo = { level = " warn" , priority = -1 }
39- complexity = { level = " warn" , priority = -1 }
40- nursery = { level = " warn" , priority = -1 }
41- pedantic = { level = " warn" , priority = -1 }
42- perf = { level = " warn" , priority = -1 }
43- style = { level = " warn" , priority = -1 }
44-
4534# The lint groups above enable some less-than-desirable rules, we should manually
4635# enable those to keep our sanity.
4736absolute_paths = " allow"
4837arbitrary_source_item_ordering = " allow"
38+ cargo = { level = " warn" , priority = -1 }
4939clone_on_ref_ptr = " warn"
40+ complexity = { level = " warn" , priority = -1 }
5041dbg_macro = " warn"
5142empty_drop = " warn"
5243empty_structs_with_brackets = " warn"
5344exit = " warn"
45+ expect_used = " warn"
5446filetype_is_file = " warn"
5547get_unwrap = " warn"
5648implicit_return = " allow"
@@ -59,25 +51,31 @@ map_with_unused_argument_over_ranges = "warn"
5951missing_docs_in_private_items = " allow"
6052non_ascii_literal = " allow"
6153non_std_lazy_statics = " warn"
54+ nursery = { level = " warn" , priority = -1 }
6255pathbuf_init_then_push = " warn"
6356pattern_type_mismatch = " allow"
57+ pedantic = { level = " warn" , priority = -1 }
58+ perf = { level = " warn" , priority = -1 }
59+ print_stderr = " warn"
60+ print_stdout = " warn"
6461question_mark_used = " allow"
6562rc_buffer = " warn"
6663rc_mutex = " warn"
6764rest_pat_in_fully_bound_structs = " warn"
6865similar_names = " allow"
6966single_call_fn = " allow"
7067std_instead_of_core = " allow"
68+ style = { level = " warn" , priority = -1 }
69+ todo = " warn"
7170too_long_first_doc_paragraph = " allow"
7271too_many_lines = " allow"
7372undocumented_unsafe_blocks = " warn"
73+ unimplemented = " warn"
7474unnecessary_safety_comment = " warn"
75+ unreachable = " warn"
7576unused_result_ok = " warn"
7677unused_trait_names = " allow"
7778
78- expect_used = " warn"
79- print_stderr = " warn"
80- print_stdout = " warn"
81- todo = " warn"
82- unimplemented = " warn"
83- unreachable = " warn"
79+ [profile .release ]
80+ lto = " fat"
81+ opt-level = 3
0 commit comments