From 2c94507905b7f6c3bf6ae91f5a8d136810eb3d37 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Thu, 12 Oct 2023 13:37:34 -0400 Subject: [PATCH] forbid unsafe --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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)]