Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (55 loc) · 1.6 KB
/
Copy pathCargo.toml
File metadata and controls
58 lines (55 loc) · 1.6 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
[workspace]
members = [
"crates/nac-catalog-gen",
"crates/nac-contracts",
"crates/nac-core",
"crates/nac-credential-store",
"crates/nac-managed",
"crates/nac-process",
"crates/nac-server",
]
resolver = "2"
[workspace.dependencies]
anyhow = "1"
base64 = "0.22"
libc = "0.2"
reqwest = { version = "0.13", default-features = false }
ring = "0.17.14"
rmcp = { version = "=3.5.0", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
tokio = { version = "1", default-features = false }
toml = "0.8"
utoipa = "6"
uuid = "1"
[workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
unused_lifetimes = "warn"
[workspace.lints.clippy]
# Keep this list high-signal and warning-free so `make lint` remains a hard gate.
# Broad groups and preference-heavy restrictions remain opt-in; add focused
# lints incrementally with a clean boundary and repository-level evidence.
allow_attributes_without_reason = "warn"
dbg_macro = "warn"
clone_on_ref_ptr = "warn"
expect_used = "warn"
future_not_send = "warn"
iter_over_hash_type = "warn"
match_same_arms = "warn"
missing_assert_message = "warn"
needless_collect = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
rest_pat_in_fully_bound_structs = "warn"
semicolon_if_nothing_returned = "warn"
significant_drop_in_scrutinee = "warn"
todo = "warn"
trivially_copy_pass_by_ref = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
uninlined_format_args = "warn"
unused_async = "warn"
unused_result_ok = "warn"
unwrap_used = "warn"
wildcard_dependencies = "warn"