From af6047a655c57ddc3854fc5d89463403a38081d3 Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Wed, 13 Dec 2023 13:16:23 +0900 Subject: [PATCH] lib: forbid unsafe_code at all --- lib/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 3f09ec6f4a..4b5dd5e384 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -16,6 +16,7 @@ #![warn(missing_docs)] #![deny(unused_must_use)] +#![forbid(unsafe_code)] #[macro_use] pub mod content_hash;