-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (42 loc) · 1.01 KB
/
Cargo.toml
File metadata and controls
46 lines (42 loc) · 1.01 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
[workspace]
resolver = "3"
members = [
"crates/natrix_shared",
"crates/natrix_macros",
"crates/natrix",
"crates/natrix-cli",
"ci/integration_tests",
"ci/integration_tests_dependency",
"dagger_pipeline",
]
exclude = [
"ci/benchmark",
]
[profile.release]
opt-level = "z"
codegen-units = 1
lto = "fat"
panic = "abort"
strip = "symbols"
[workspace.lints.rust]
missing_docs = "warn"
private_interfaces = { level = "allow"}
private_bounds = { level = "allow"}
unfulfilled_lint_expectations = "warn"
unsafe_code = "deny"
# https://github.com/proptest-rs/proptest/issues/447
non_local_definitions = "allow"
[workspace.lints.clippy]
pedantic = {level = "warn", priority = 1}
todo = "deny"
unreachable = "deny"
unwrap_used = "deny"
indexing_slicing = "deny"
dbg_macro = "deny"
expect_used = "deny"
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "deny"
missing_docs_in_private_items = "warn"
type_complexity = "allow"
panic = { level = "deny", priority = 0 }