refactor: forbid unsafe

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2023-11-20 13:37:31 +00:00 committed by GitHub
parent b4ab4e2f18
commit 3ee173f8f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,8 @@ strip = "symbols"
opt-level = 3 opt-level = 3
overflow-checks = true overflow-checks = true
lto = 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] [dependencies]