Skip to content

Commit

Permalink
aggressive clippy (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwwmanning authored Jun 20, 2024
1 parent cea62ec commit 76f99f9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "fastlanes"
version = "0.1.5"
description = "Rust implementation of the FastLanes compression layout"
license = "MIT"
license = "Apache-2.0"
homepage = "https://github.com/spiraldb/fastlanes"
repository = "https://github.com/spiraldb/fastlanes"
authors = ["SpiralDB <[email protected]>"]
Expand All @@ -21,9 +21,23 @@ criterion = "0.5.1"

[workspace.lints.rust]
warnings = "deny"
unsafe_op_in_unsafe_fn = "deny"

[workspace.lints.clippy]
all = "deny"
if_then_some_else_none = { level = "deny" }
mem_forget = { level = "deny" }
multiple_inherent_impl = { level = "deny" }
or_fun_call = "deny"
panic = { level = "deny" }
panic_in_result_fn = { level = "deny" }
same_name_method = { level = "deny" }
self_named_module_files = { level = "deny" }
tests_outside_test_module = { level = "deny" }
unreachable = { level = "deny" }
unwrap_used = { level = "deny" }
unwrap_in_result = { level = "deny" }
use_debug = { level = "deny" }

[[bench]]
name = "bitpacking"
Expand Down
1 change: 1 addition & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
allow-unwrap-in-tests = true

0 comments on commit 76f99f9

Please sign in to comment.