forked from AtomicIP/AtomicIP-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (39 loc) · 1.05 KB
/
Copy pathCargo.toml
File metadata and controls
43 lines (39 loc) · 1.05 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
[workspace]
members = [
"contracts/ip_registry",
"contracts/atomic_swap",
# "api-server", # temporarily excluded: async-graphql version conflict
]
resolver = "2"
[workspace.dependencies]
# Security: Force rand 0.8.6+ to avoid RUSTSEC-2026-0097 (unsound with custom logger)
rand = "0.8.6"
[workspace.lints.clippy]
# Pre-existing lint suppressions — these fire on code predating this PR.
len_zero = "allow"
unnecessary_cast = "allow"
useless_conversion = "allow"
question_mark = "allow"
manual_range_contains = "allow"
needless_range_loop = "allow"
bool_assert_comparison = "allow"
manual_is_multiple_of = "allow"
module_inception = "allow"
empty_line_after_outer_attr = "allow"
too_many_arguments = "allow"
upper_case_acronyms = "allow"
collapsible_if = "allow"
needless_borrows_for_generic_args = "allow"
[workspace.lints.rust]
dead_code = "allow"
unused_imports = "allow"
unused_variables = "allow"
[profile.release]
opt-level = "z"
overflow-checks = true
debug = 0
strip = "symbols"
debug-assertions = false
panic = "abort"
codegen-units = 1
lto = true