diff --git a/src/lib.rs b/src/lib.rs index 90fef1a..8136998 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,6 @@ #![cfg_attr(feature = "default", doc = include_str!("../README.md"))] #![cfg_attr(not(feature = "std"), no_std)] +#![forbid(unsafe_code)] #![deny(clippy::all, clippy::pedantic)] #![allow(clippy::missing_errors_doc, clippy::module_name_repetitions)]