Skip to content

Commit 190dde2

Browse files
committed
format .toml files
1 parent c260c5d commit 190dde2

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

.deny.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ confidence-threshold = 0.93
5555
[[licenses.clarify]]
5656
crate = "webpki"
5757
expression = "ISC"
58-
license-files = [ { path = "LICENSE", hash = 0x001c7e6c } ]
58+
license-files = [ { hash = 0x001c7e6c, path = "LICENSE" } ]
5959

6060
# Actually "ISC-style".
6161
[[licenses.clarify]]
6262
crate = "rustls-webpki"
6363
expression = "ISC"
64-
license-files = [ { path = "LICENSE", hash = 0x001c7e6c } ]
64+
license-files = [ { hash = 0x001c7e6c, path = "LICENSE" } ]

Cargo.toml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "dix"
3-
description = "Diff Nix"
43
version = "1.4.1"
5-
license = "GPL-3.0-only"
64
edition = "2024"
5+
description = "Diff Nix"
76
homepage = "https://github.com/faukah/dix"
87
repository = "https://github.com/faukah/dix"
8+
license = "GPL-3.0-only"
99
keywords = [ "nix", "nixos" ]
1010

1111
[dependencies]
@@ -28,29 +28,21 @@ yansi = { features = [ "detect-env", "detect-tty" ], version = "1.
2828
[dev-dependencies]
2929
proptest = "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.
4736
absolute_paths = "allow"
4837
arbitrary_source_item_ordering = "allow"
38+
cargo = { level = "warn", priority = -1 }
4939
clone_on_ref_ptr = "warn"
40+
complexity = { level = "warn", priority = -1 }
5041
dbg_macro = "warn"
5142
empty_drop = "warn"
5243
empty_structs_with_brackets = "warn"
5344
exit = "warn"
45+
expect_used = "warn"
5446
filetype_is_file = "warn"
5547
get_unwrap = "warn"
5648
implicit_return = "allow"
@@ -59,25 +51,31 @@ map_with_unused_argument_over_ranges = "warn"
5951
missing_docs_in_private_items = "allow"
6052
non_ascii_literal = "allow"
6153
non_std_lazy_statics = "warn"
54+
nursery = { level = "warn", priority = -1 }
6255
pathbuf_init_then_push = "warn"
6356
pattern_type_mismatch = "allow"
57+
pedantic = { level = "warn", priority = -1 }
58+
perf = { level = "warn", priority = -1 }
59+
print_stderr = "warn"
60+
print_stdout = "warn"
6461
question_mark_used = "allow"
6562
rc_buffer = "warn"
6663
rc_mutex = "warn"
6764
rest_pat_in_fully_bound_structs = "warn"
6865
similar_names = "allow"
6966
single_call_fn = "allow"
7067
std_instead_of_core = "allow"
68+
style = { level = "warn", priority = -1 }
69+
todo = "warn"
7170
too_long_first_doc_paragraph = "allow"
7271
too_many_lines = "allow"
7372
undocumented_unsafe_blocks = "warn"
73+
unimplemented = "warn"
7474
unnecessary_safety_comment = "warn"
75+
unreachable = "warn"
7576
unused_result_ok = "warn"
7677
unused_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

Comments
 (0)