-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (83 loc) · 3.5 KB
/
Cargo.toml
File metadata and controls
88 lines (83 loc) · 3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
name = "dix"
version = "1.4.2"
edition = "2024"
description = "Diff Nix"
homepage = "https://github.com/faukah/dix"
repository = "https://github.com/faukah/dix"
license = "GPL-3.0-only"
keywords = [ "nix", "nixos" ]
[dependencies]
clap = { features = [ "derive" ], version = "4.5.37" }
eyre = "0.6"
clap-verbosity-flag = "3.0.2"
derive_more = { features = [ "full" ], version = "2.0.1" }
diff = "0.1.13"
itertools = "0.14.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [ "env-filter" ] }
ouroboros = "0.18.5"
pathfinding = "4.14.0"
regex = "1.11.1"
rusqlite = { features = [ "bundled" ], version = "0.38.0" }
size = "0.5.0"
unicode-width = "0.2.0"
yansi = { features = [ "detect-env", "detect-tty" ], version = "1.0.1" }
serde = { features = ["derive"], version = "1.0.228", optional = true }
serde_json = { version = "1.0.149", optional = true }
[features]
default = ["json"]
json = ["dep:serde", "dep:serde_json"]
[dev-dependencies]
proptest = "1.6.0"
tempfile = "3.10.0"
# See:
# <https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html>
[lints.clippy]
# The lint groups above enable some less-than-desirable rules, we should manually
# enable those to keep our sanity.
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cargo = { level = "warn", priority = -1 }
clone_on_ref_ptr = "warn"
complexity = { level = "warn", priority = -1 }
dbg_macro = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
expect_used = "warn"
filetype_is_file = "warn"
get_unwrap = "warn"
implicit_return = "allow"
infinite_loop = "warn"
map_with_unused_argument_over_ranges = "warn"
missing_docs_in_private_items = "allow"
non_ascii_literal = "allow"
non_std_lazy_statics = "warn"
nursery = { level = "warn", priority = -1 }
pathbuf_init_then_push = "warn"
pattern_type_mismatch = "allow"
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
print_stderr = "warn"
print_stdout = "warn"
question_mark_used = "allow"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
single_call_fn = "allow"
std_instead_of_core = "allow"
style = { level = "warn", priority = -1 }
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unreachable = "warn"
unused_result_ok = "warn"
unused_trait_names = "allow"
[profile.release]
lto = "fat"
opt-level = 3