refactor: forbid unsafe
This commit is contained in:
parent
b4ab4e2f18
commit
3ee173f8f3
1 changed files with 3 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue