-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (46 loc) · 1.03 KB
/
Cargo.toml
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
[workspace]
resolver = "2"
members = [
"common",
"controller",
"model",
"view",
]
[profile.dev]
opt-level=0
debug=2
incremental=true
[profile.profiling]
inherits = "dev"
opt-level=3
debug=2
incremental=true
[profile.release]
opt-level=3
debug=0
incremental=true
[workspace.lints.clippy]
# Setting priority = -1 lets us override
# See https://rust.code-maven.com/simple-case-of-pedantic-lints
pedantic = { priority = -1, level = "warn" }
cast_possible_wrap = "allow"
cast_lossless = "allow"
cast_sign_loss = "allow"
cast_precision_loss = "allow"
cast_possible_truncation = "allow"
manual_string_new = "allow"
struct_field_names = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
large_enum_variant = "allow"
should_panic_without_expect = "allow"
many_single_char_names = "allow"
similar_names = "allow"
float_cmp = "allow"
enum_variant_names = "allow"
missing_panics_doc = "allow"
ptr_arg = "allow"
new_ret_no_self = "allow"
too_many_lines = "allow"
struct_excessive_bools = "allow"