-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathCargo.toml
42 lines (39 loc) · 1.18 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
[workspace]
members = [
"crates/core",
"crates/backend_c",
"crates/backend_cpython",
"crates/backend_csharp",
"crates/proc_macros",
"crates/reference_project",
"examples/hello_world",
"examples/real_project_layout/core_library",
"examples/real_project_layout/core_library_ffi",
"examples/real_project_layout/core_library_ffi_build",
"tests"
]
resolver = "2"
[workspace.dependencies]
anyhow = "1.0.95"
darling = "0.20.10"
derive_builder = "0.20.2"
heck = "0.5.0"
log = "0.4.14"
proc-macro2 = "1.0.36"
quote = "1.0.15"
serde = "1.0.203"
syn = "2.0.79"
[workspace.lints.clippy]
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 }
pedantic = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 } # We might want to disable this if it causes issues.
option_if_let_else = "allow" # trips up on `darling`
match_same_arms = "allow" # too many
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
default_constructed_unit_structs = "allow"