summaryrefslogtreecommitdiff
path: root/copypasta
diff options
context:
space:
mode:
Diffstat (limited to 'copypasta')
-rw-r--r--copypasta/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/copypasta/src/lib.rs b/copypasta/src/lib.rs
index 2857ce82..f0b3c53e 100644
--- a/copypasta/src/lib.rs
+++ b/copypasta/src/lib.rs
@@ -1,5 +1,7 @@
//! A cross-platform clipboard library
+#![cfg_attr(feature = "cargo-clippy", deny(clippy, if_not_else, enum_glob_use, wrong_pub_self_convention))]
+
// This has to be here due to macro_use
#[cfg(target_os = "macos")]
#[macro_use] extern crate objc;