diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 76f2a38c..0cfcab49 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -1,3 +1,5 @@ +#![forbid(unsafe_code)] + #[macro_use] extern crate log; diff --git a/src/main.rs b/src/main.rs index 97e2a0f8..399a2e17 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![forbid(unsafe_code)] + #[macro_use] extern crate log;