diff --git a/readme.md b/readme.md index 80248b82..f36fe5bf 100644 --- a/readme.md +++ b/readme.md @@ -71,5 +71,22 @@ Code should be formatted with `cargo fmt` and be well documented. The following `cargo clippy` rules are enforced. ```rs -#![deny(clippy::mutable_key_type, clippy::map_entry, clippy::boxed_local, clippy::assigning_clones, clippy::redundant_allocation, bool_comparison, bind_instead_of_map, clippy::vec_box, clippy::while_let_loop, useless_asref, clippy::repeat_once, clippy::deref_addrof, clippy::suspicious_map, clippy::arc_with_non_send_sync, clippy::single_char_pattern)] +#![deny( + clippy::mutable_key_type, + clippy::map_entry, + clippy::boxed_local, + clippy::assigning_clones, + clippy::redundant_allocation, + bool_comparison, + bind_instead_of_map, + clippy::vec_box, + clippy::while_let_loop, + useless_asref, + clippy::repeat_once, + clippy::deref_addrof, + clippy::suspicious_map, + clippy::arc_with_non_send_sync, + clippy::single_char_pattern, + clippy::for_kv_map +)] ``` \ No newline at end of file diff --git a/src/alpenrose/main.rs b/src/alpenrose/main.rs index 4ca648ef..ab72d125 100644 --- a/src/alpenrose/main.rs +++ b/src/alpenrose/main.rs @@ -16,11 +16,11 @@ clippy::while_let_loop, useless_asref, clippy::repeat_once, - clippy::clone_on_copy, clippy::deref_addrof, clippy::suspicious_map, clippy::arc_with_non_send_sync, - clippy::single_char_pattern + clippy::single_char_pattern, + clippy::for_kv_map )] // https://en.wikipedia.org/wiki/Rhododendron_ferrugineum diff --git a/src/aspen/main.rs b/src/aspen/main.rs index d2c55828..a227f72d 100644 --- a/src/aspen/main.rs +++ b/src/aspen/main.rs @@ -13,7 +13,8 @@ clippy::deref_addrof, clippy::suspicious_map, clippy::arc_with_non_send_sync, - clippy::single_char_pattern + clippy::single_char_pattern, + clippy::for_kv_map )] mod lib; diff --git a/src/birch/server.rs b/src/birch/server.rs index 164d142d..055d887a 100644 --- a/src/birch/server.rs +++ b/src/birch/server.rs @@ -13,7 +13,8 @@ clippy::deref_addrof, clippy::suspicious_map, clippy::arc_with_non_send_sync, - clippy::single_char_pattern + clippy::single_char_pattern, + clippy::for_kv_map )] use actix_web::dev::Service; diff --git a/src/lib.rs b/src/lib.rs index d719ab96..7b4211ea 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,8 @@ clippy::deref_addrof, clippy::suspicious_map, clippy::arc_with_non_send_sync, - clippy::single_char_pattern + clippy::single_char_pattern, + clippy::for_kv_map )] #[macro_use] diff --git a/src/maple/main.rs b/src/maple/main.rs index afca8b31..1bc9582a 100644 --- a/src/maple/main.rs +++ b/src/maple/main.rs @@ -17,7 +17,8 @@ clippy::deref_addrof, clippy::suspicious_map, clippy::arc_with_non_send_sync, - clippy::single_char_pattern + clippy::single_char_pattern, + clippy::for_kv_map )] use catenary::postgres_tools::make_async_pool; diff --git a/src/spruce/main.rs b/src/spruce/main.rs index aa66a4e2..55ca8b69 100644 --- a/src/spruce/main.rs +++ b/src/spruce/main.rs @@ -10,11 +10,11 @@ clippy::while_let_loop, useless_asref, clippy::repeat_once, - clippy::clone_on_copy, clippy::deref_addrof, clippy::suspicious_map, clippy::arc_with_non_send_sync, - clippy::single_char_pattern + clippy::single_char_pattern, + clippy::for_kv_map )] use actix::ActorContext;