Skip to content

Commit

Permalink
Move clippy lints to workspace Cargo.toml (#32633)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: cffc0f359ba36d6f3aaaa75ddf55b7e2c0640da7
  • Loading branch information
goffrie authored and Convex, Inc. committed Jan 13, 2025
1 parent 7a2907d commit e218dce
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,21 @@ native-tls = [ "convex/native-tls" ]
native-tls-vendored = [ "convex/native-tls-vendored" ]
rustls-tls-native-roots = [ "convex/rustls-tls-native-roots" ]
rustls-tls-webpki-roots = [ "convex/rustls-tls-webpki-roots" ]

[lints.rust]
unused_extern_crates = "warn"

[lints.clippy]
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
large_enum_variant = "allow"
manual_map = "allow"
new_without_default = "allow"
op_ref = "allow"
ptr_arg = "allow"
single_match = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
upper_case_acronyms = "allow"
useless_format = "allow"
useless_vec = "allow"

0 comments on commit e218dce

Please sign in to comment.