Skip to content

Commit 76e9cac

Browse files
committed
Disable warnings
1 parent e685c13 commit 76e9cac

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,10 @@ codegen-units = 16
112112
# backtraces are super expensive to compute in development,
113113
# always optimize that crate
114114
opt-level = 2
115+
116+
[workspace.lints.clippy]
117+
io_other_error = "allow"
118+
large_enum_variant = "allow"
119+
needless_option_take = "allow"
120+
result_large_err = "allow"
121+
unnecessary_map_or = "allow"

crates/corro-agent/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name = "corro-agent"
33
version = "0.1.0"
44
edition = "2021"
55

6+
[lints]
7+
workspace = true
8+
69
[dependencies]
710
antithesis_sdk = { workspace = true }
811
arc-swap = { workspace = true }

crates/corro-client/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ edition = "2021"
55
description = "client to interact with corrosion"
66
license = "MIT"
77

8-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8+
[lints]
9+
workspace = true
910

1011
[dependencies]
1112
bytes = { workspace = true }

crates/corro-pg/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name = "corro-pg"
33
version = "0.1.0"
44
edition = "2021"
55

6+
[lints]
7+
workspace = true
8+
69
[dependencies]
710
bytes = { workspace = true }
811
compact_str = { workspace = true }

crates/corro-types/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ edition = "2021"
55
description = "common types for corrosion"
66
license = "MIT"
77

8+
[lints]
9+
workspace = true
10+
811
[dependencies]
912
arc-swap = { workspace = true }
1013
async-trait = { workspace = true }

0 commit comments

Comments
 (0)