Skip to content

Commit e218dce

Browse files
goffrieConvex, Inc.
authored and
Convex, Inc.
committed
Move clippy lints to workspace Cargo.toml (#32633)
GitOrigin-RevId: cffc0f359ba36d6f3aaaa75ddf55b7e2c0640da7
1 parent 7a2907d commit e218dce

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Cargo.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,21 @@ native-tls = [ "convex/native-tls" ]
3131
native-tls-vendored = [ "convex/native-tls-vendored" ]
3232
rustls-tls-native-roots = [ "convex/rustls-tls-native-roots" ]
3333
rustls-tls-webpki-roots = [ "convex/rustls-tls-webpki-roots" ]
34+
35+
[lints.rust]
36+
unused_extern_crates = "warn"
37+
38+
[lints.clippy]
39+
await_holding_lock = "warn"
40+
await_holding_refcell_ref = "warn"
41+
large_enum_variant = "allow"
42+
manual_map = "allow"
43+
new_without_default = "allow"
44+
op_ref = "allow"
45+
ptr_arg = "allow"
46+
single_match = "allow"
47+
too_many_arguments = "allow"
48+
type_complexity = "allow"
49+
upper_case_acronyms = "allow"
50+
useless_format = "allow"
51+
useless_vec = "allow"

0 commit comments

Comments
 (0)