mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 13:18:21 -06:00
add lints
This commit is contained in:
parent
6a218352ab
commit
80abfc2768
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue