summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nitrocli/src/main.rs16
1 files changed, 7 insertions, 9 deletions
diff --git a/nitrocli/src/main.rs b/nitrocli/src/main.rs
index ffc2744..57fbceb 100644
--- a/nitrocli/src/main.rs
+++ b/nitrocli/src/main.rs
@@ -17,8 +17,10 @@
// * along with this program. If not, see <http://www.gnu.org/licenses/>. *
// *************************************************************************
-#![deny(
+#![warn(
+ bad_style,
dead_code,
+ future_incompatible,
illegal_floating_point_literal_pattern,
improper_ctypes,
intra_doc_link_resolution_failure,
@@ -28,12 +30,16 @@
missing_docs,
no_mangle_generic_items,
non_shorthand_field_patterns,
+ nonstandard_style,
overflowing_literals,
path_statements,
patterns_in_fns_without_body,
plugin_as_library,
private_in_public,
proc_macro_derive_resolution_fallback,
+ renamed_and_removed_lints,
+ rust_2018_compatibility,
+ rust_2018_idioms,
safe_packed_borrows,
stable_features,
trivial_bounds,
@@ -55,14 +61,6 @@
where_clauses_object_safety,
while_true
)]
-#![warn(
- bad_style,
- future_incompatible,
- nonstandard_style,
- renamed_and_removed_lints,
- rust_2018_compatibility,
- rust_2018_idioms
-)]
//! Nitrocli is a program providing a command line interface to certain
//! commands of Nitrokey Pro and Storage devices.