From 3ee173f8f34194ebabcc1b2de015b41e117c87d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=9CM=C3=9C=C5=9E?= <96421894+Tahinli@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:37:31 +0000 Subject: [PATCH] refactor: forbid unsafe --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index bec9c30..9c7489d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,8 @@ strip = "symbols" opt-level = 3 overflow-checks = true lto = true -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[lints.rust] +unsafe_code = "forbid" [dependencies]