From ec592951bcbd8da6f7a59e0ebefdfdea9199a5c3 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Fri, 3 May 2024 01:48:12 +0200 Subject: [PATCH] add lints --- kubi/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kubi/src/lib.rs b/kubi/src/lib.rs index 77fce89..be70fb3 100644 --- a/kubi/src/lib.rs +++ b/kubi/src/lib.rs @@ -1,8 +1,14 @@ +//TODO move lints to workspace Cargo.toml #![allow( clippy::too_many_arguments, // allowed because systems often need a lot of argumentss clippy::enum_variant_names, clippy::type_complexity )] +#![forbid( + static_mut_refs, + unsafe_op_in_unsafe_fn, + rust_2024_compatibility, +)] use shipyard::{ World, Workload, IntoWorkload,