From 862bfae92028e87a78b85c57672b04d4ec7d8301 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Fri, 28 May 2021 09:30:26 +0300 Subject: [PATCH] Add #![forbid(unsafe_code)] Closes #70 --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 1026ea5..f86ffc9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -475,6 +475,7 @@ //! #![deny(missing_docs)] +#![forbid(unsafe_code)] #[cfg(feature = "regex_support")] extern crate regex;