-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (49 loc) · 1.24 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
51
52
53
54
55
56
[package]
name = "simple-sample"
version = "0.1.0"
edition = "2021"
authors = ["pollenjp <[email protected]>"]
license = "MIT"
rust-version.workspace = true
[dependencies]
cdk-ansible.workspace = true
cdk-ansible-macro.workspace = true
cdkam_ansible.path = "../cdkam_ansible"
anyhow.workspace = true
serde.workspace = true
serde_json.workspace = true
[lints.clippy]
# category
#
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
restriction = { level = "warn", priority = -1 }
# cargo = "warn"
# style
#
get_first = "allow"
# nursery
#
branches_sharing_code = "allow"
# restriction
#
# https://rust-lang.github.io/rust-clippy/master/index.html#blanket_clippy_restriction_lints
blanket_clippy_restriction_lints = "allow"
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
dbg_macro = "allow"
implicit_return = "allow"
min_ident_chars = "allow"
missing_docs_in_private_items = "allow"
missing-errors-doc = "allow"
mod_module_files = "allow"
# FIXME: later
print_stdout = "allow"
pub_with_shorthand = "allow"
question_mark_used = "allow"
self_named_module_files = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"