From d9a9dbefb56cc4977bb2aabb7ea98012afad819d Mon Sep 17 00:00:00 2001 From: Mikhail Katychev Date: Tue, 8 Oct 2024 10:33:49 -0500 Subject: [PATCH] clippy config --- .clippy.toml | 1 + Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .clippy.toml diff --git a/.clippy.toml b/.clippy.toml new file mode 100644 index 0000000..c31f0e0 --- /dev/null +++ b/.clippy.toml @@ -0,0 +1 @@ +allowed-wildcard-imports = [ "super" ] diff --git a/Cargo.toml b/Cargo.toml index d7753fb..059009e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,3 +58,7 @@ url = "2.4.1" [profile.release] lto = true + +[workspace.lints.clippy] +enum_glob_use = "allow" +