From 0280d851f9b5e6b465fde5d22b3e5e8f0c71ea7d Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Mon, 15 Jun 2020 20:11:48 +0300 Subject: [PATCH] Forbid unsafe code This makes `cargo geiger` happy. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 706a802..71a4d04 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -165,6 +165,8 @@ //! buffer or `Reader` (thanks to the change of `Value::Undefined` //! and `Value::Ascii` described above). +#![forbid(unsafe_code)] + pub use error::Error; pub use jpeg::get_exif_attr as get_exif_attr_from_jpeg; pub use reader::{Exif, Reader};