aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e70aa73..2466117 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -84,6 +84,13 @@
//! [`DeviceWrapper`]: enum.DeviceWrapper.html
//! [`User`]: struct.User.html
+#![warn(
+ missing_docs,
+ rust_2018_compatibility,
+ rust_2018_idioms,
+ unused,
+)]
+
extern crate libc;
extern crate nitrokey_sys;
extern crate rand;