mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-31 12:31:22 +00:00
Start using cargo-clippy for CI.
This commit is contained in:
21
src/lib.rs
21
src/lib.rs
@@ -1,15 +1,14 @@
|
|||||||
// `clippy` is a code linting tool for improving code quality by catching
|
// `clippy` is a code linting tool for improving code quality by catching
|
||||||
// common mistakes or strange code patterns. If the `clippy` feature is
|
// common mistakes or strange code patterns. If the `cargo-clippy` feature
|
||||||
// provided, it is enabled and all compiler warnings are prohibited.
|
// is provided, all compiler warnings are prohibited.
|
||||||
#![cfg_attr(feature = "clippy", deny(warnings))]
|
#![cfg_attr(feature = "cargo-clippy", deny(warnings))]
|
||||||
#![cfg_attr(feature = "clippy", feature(plugin))]
|
#![cfg_attr(feature = "cargo-clippy", allow(inline_always))]
|
||||||
#![cfg_attr(feature = "clippy", plugin(clippy))]
|
#![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))]
|
||||||
#![cfg_attr(feature = "clippy", allow(inline_always))]
|
#![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
|
||||||
#![cfg_attr(feature = "clippy", allow(too_many_arguments))]
|
#![cfg_attr(feature = "cargo-clippy", allow(many_single_char_names))]
|
||||||
#![cfg_attr(feature = "clippy", allow(unreadable_literal))]
|
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))]
|
||||||
#![cfg_attr(feature = "clippy", allow(many_single_char_names))]
|
#![cfg_attr(feature = "cargo-clippy", allow(write_literal))]
|
||||||
#![cfg_attr(feature = "clippy", allow(new_without_default_derive))]
|
|
||||||
#![cfg_attr(feature = "clippy", allow(write_literal))]
|
|
||||||
// Force public structures to implement Debug
|
// Force public structures to implement Debug
|
||||||
#![deny(missing_debug_implementations)]
|
#![deny(missing_debug_implementations)]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user