Remove redundant global deny/allow in crates
They are already defined in the workspace Cargo.toml Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
parent
ef9fad44a8
commit
16bb710501
3 changed files with 2 additions and 81 deletions
|
|
@ -4,31 +4,6 @@
|
||||||
// Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
// Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||||
#![deny(
|
|
||||||
clippy::undocumented_unsafe_blocks,
|
|
||||||
/* groups */
|
|
||||||
clippy::correctness,
|
|
||||||
clippy::suspicious,
|
|
||||||
clippy::complexity,
|
|
||||||
clippy::perf,
|
|
||||||
clippy::style,
|
|
||||||
clippy::nursery,
|
|
||||||
//* restriction */
|
|
||||||
clippy::dbg_macro,
|
|
||||||
clippy::rc_buffer,
|
|
||||||
clippy::as_underscore,
|
|
||||||
clippy::assertions_on_result_states,
|
|
||||||
//* pedantic */
|
|
||||||
clippy::cast_lossless,
|
|
||||||
clippy::cast_possible_wrap,
|
|
||||||
clippy::ptr_as_ptr,
|
|
||||||
clippy::bool_to_int_with_if,
|
|
||||||
clippy::borrow_as_ptr,
|
|
||||||
clippy::case_sensitive_file_extension_comparisons,
|
|
||||||
clippy::cast_lossless,
|
|
||||||
clippy::cast_ptr_alignment,
|
|
||||||
clippy::naive_bytecount
|
|
||||||
)]
|
|
||||||
|
|
||||||
mod backend;
|
mod backend;
|
||||||
mod console;
|
mod console;
|
||||||
|
|
|
||||||
|
|
@ -2,36 +2,11 @@
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||||
|
|
||||||
#![deny(
|
|
||||||
clippy::undocumented_unsafe_blocks,
|
|
||||||
/* groups */
|
|
||||||
clippy::correctness,
|
|
||||||
clippy::suspicious,
|
|
||||||
clippy::complexity,
|
|
||||||
clippy::perf,
|
|
||||||
clippy::style,
|
|
||||||
clippy::nursery,
|
|
||||||
//* restriction */
|
|
||||||
clippy::dbg_macro,
|
|
||||||
clippy::rc_buffer,
|
|
||||||
clippy::as_underscore,
|
|
||||||
clippy::assertions_on_result_states,
|
|
||||||
//* pedantic */
|
|
||||||
clippy::cast_lossless,
|
|
||||||
clippy::cast_possible_wrap,
|
|
||||||
clippy::ptr_as_ptr,
|
|
||||||
clippy::bool_to_int_with_if,
|
|
||||||
clippy::borrow_as_ptr,
|
|
||||||
clippy::case_sensitive_file_extension_comparisons,
|
|
||||||
clippy::cast_ptr_alignment,
|
|
||||||
clippy::naive_bytecount
|
|
||||||
)]
|
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::missing_errors_doc,
|
clippy::missing_errors_doc,
|
||||||
clippy::missing_panics_doc,
|
clippy::missing_panics_doc,
|
||||||
clippy::must_use_candidate,
|
clippy::cloned_ref_to_slice_refs,
|
||||||
clippy::significant_drop_in_scrutinee,
|
clippy::must_use_candidate
|
||||||
clippy::significant_drop_tightening
|
|
||||||
)]
|
)]
|
||||||
|
|
||||||
pub mod device;
|
pub mod device;
|
||||||
|
|
|
||||||
|
|
@ -1,35 +1,6 @@
|
||||||
// Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
|
// Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
|
||||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||||
//
|
//
|
||||||
#![deny(
|
|
||||||
clippy::undocumented_unsafe_blocks,
|
|
||||||
/* groups */
|
|
||||||
clippy::correctness,
|
|
||||||
clippy::suspicious,
|
|
||||||
clippy::complexity,
|
|
||||||
clippy::perf,
|
|
||||||
clippy::style,
|
|
||||||
clippy::nursery,
|
|
||||||
//* restriction */
|
|
||||||
clippy::dbg_macro,
|
|
||||||
clippy::rc_buffer,
|
|
||||||
clippy::as_underscore,
|
|
||||||
clippy::assertions_on_result_states,
|
|
||||||
//* pedantic */
|
|
||||||
clippy::cast_lossless,
|
|
||||||
clippy::cast_possible_wrap,
|
|
||||||
clippy::ptr_as_ptr,
|
|
||||||
clippy::bool_to_int_with_if,
|
|
||||||
clippy::borrow_as_ptr,
|
|
||||||
clippy::case_sensitive_file_extension_comparisons,
|
|
||||||
clippy::cast_lossless,
|
|
||||||
clippy::cast_ptr_alignment,
|
|
||||||
clippy::naive_bytecount
|
|
||||||
)]
|
|
||||||
#![allow(
|
|
||||||
clippy::significant_drop_in_scrutinee,
|
|
||||||
clippy::significant_drop_tightening
|
|
||||||
)]
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub fn init_logger() {
|
pub fn init_logger() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue