generated from rust-vmm/crate-template
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (53 loc) · 1.41 KB
/
Cargo.toml
File metadata and controls
57 lines (53 loc) · 1.41 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
[workspace]
resolver = "2"
members = [
"vhost-device-can",
"vhost-device-console",
"vhost-device-gpio",
"vhost-device-gpu",
"vhost-device-i2c",
"vhost-device-input",
"vhost-device-media",
"vhost-device-rng",
"vhost-device-scsi",
"vhost-device-scmi",
"vhost-device-sound",
"vhost-device-spi",
"vhost-device-template",
"vhost-device-vsock",
"xtask",
]
[workspace.lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[workspace.lints.rustdoc]
broken_intra_doc_links = "deny"
redundant_explicit_links = "deny"
[workspace.lints.clippy]
enum_glob_use = "deny"
# groups
correctness = { level = "deny", priority = -1 }
suspicious = { level = "deny", priority = -1 }
complexity = { level = "deny", priority = -1 }
perf = { level = "deny", priority = -1 }
style = { level = "deny", priority = -1 }
#nursery = { level = "deny", priority = -1 }
# restriction
dbg_macro = "deny"
rc_buffer = "deny"
as_underscore = "deny"
assertions_on_result_states = "deny"
# pedantic
cast_lossless = "deny"
cast_possible_wrap = "deny"
cast_ptr_alignment = "deny"
naive_bytecount = "deny"
ptr_as_ptr = "deny"
bool_to_int_with_if = "deny"
borrow_as_ptr = "deny"
case_sensitive_file_extension_comparisons = "deny"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
missing_safety_doc = "deny"
undocumented_unsafe_blocks = "deny"
option_if_let_else = "allow"
cloned_ref_to_slice_refs = "allow"