From 166fe2a4e54b3fbcdb40841c96fd18886f64c6c8 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Sun, 12 Jan 2020 11:09:38 +0300 Subject: [PATCH] Forbid unsafe code in deltachat crate --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 0d3d416de..ed0199c6a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,4 @@ +#![forbid(unsafe_code)] #![deny(clippy::correctness, missing_debug_implementations, clippy::all)] // for now we hide warnings to not clutter/hide errors during "cargo clippy" #![allow(clippy::cognitive_complexity, clippy::too_many_arguments)]