-
-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathCargo.toml
More file actions
100 lines (92 loc) · 3.15 KB
/
Cargo.toml
File metadata and controls
100 lines (92 loc) · 3.15 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
89
90
91
92
93
94
95
96
97
98
99
100
[workspace]
members = [ "xtask", "crates/*" ]
resolver = "3"
[workspace.package]
edition = "2024"
license = "EUPL-1.2"
rust-version = "1.91.1"
version = "4.3.0"
[workspace.dependencies]
anstyle = "1.0.13"
chrono = "0.4.42"
clap = { features = [ "cargo", "color", "derive", "env", "unstable-styles" ], version = "4.5.51" }
clap-verbosity-flag = { default-features = false, features = [ "tracing" ], version = "3.0.4" }
clap_complete = "4.5.61"
clap_complete_nushell = "4.5.10"
clap_mangen = "0.2.31"
color-eyre = { default-features = false, features = [ "track-caller" ], version = "0.6.5" }
dix = "1.4.2"
elasticsearch-dsl = "0.4.24"
humantime = "2.3.0"
inquire = { default-features = false, features = [ "crossterm" ], version = "0.9.1" }
nh = { path = "crates/nh" }
nh-clean = { path = "crates/nh-clean" }
nh-core = { path = "crates/nh-core" }
nh-darwin = { path = "crates/nh-darwin" }
nh-home = { path = "crates/nh-home" }
nh-nixos = { path = "crates/nh-nixos" }
nh-remote = { path = "crates/nh-remote" }
nh-search = { path = "crates/nh-search" }
nix = { default-features = false, features = [ "fs", "user", "hostname" ], version = "0.31.1" }
proptest = "1.9.0"
regex = "1.12.2"
reqwest = { default-features = false, features = [
"blocking",
"json",
"rustls",
], version = "0.13.1" }
roff = "0.2.2"
secrecy = { features = [ "serde" ], version = "0.10.3" }
semver = "1.0.27"
serde = { features = [ "derive" ], version = "1.0.228" }
serde_json = "1.0.145"
serial_test = "3.2.0"
shlex = "1.3.0"
signal-hook = "0.4.1"
subprocess = "0.2.9"
supports-hyperlinks = "3.1.0"
system-configuration = "0.7.0"
tempfile = "3.23.0"
textwrap = { features = [ "terminal_size" ], version = "0.16.2" }
thiserror = "2.0.17"
tracing = "0.1.41"
tracing-subscriber = { features = [ "env-filter", "registry", "std" ], version = "0.3.20" }
urlencoding = "2.1.3"
which = "8.0.0"
yansi = "1.0.1"
[workspace.lints.clippy]
complexity = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
style = { level = "warn", priority = -1 }
# 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"
enum_variant_names = "allow"
implicit_return = "allow"
missing_docs_in_private_items = "allow"
non_ascii_literal = "allow"
pattern_type_mismatch = "allow"
print_stdout = "allow"
question_mark_used = "allow"
similar_names = "allow"
single_call_fn = "allow"
std_instead_of_core = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
unused_trait_names = "allow"
# In the honor of a recent Cloudflare regression
# Let's get rid of them, what the hell
panic = "deny"
unwrap_used = "deny"
# Less dangerous, but we'd like to know
expect_used = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
[profile.release]
lto = true
opt-level = 3
strip = true