diff --git a/Cargo.toml b/Cargo.toml index e28c3c2c..7fbd8840 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,6 +121,7 @@ opt-level = 3 debug = false [workspace.lints.rust] +unsafe_code = "forbid" rust_2018_idioms = "warn" single_use_lifetimes = "warn" non_ascii_idents = "warn"