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)]