diff --git a/Cargo.toml b/Cargo.toml index e189b6d6..2edd1efd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,6 +38,7 @@ prettyplease = { version = "0.2.37", features = ["verbatim"] } [lints.rust] stable_features = "allow" +unused_features = "allow" non_ascii_idents = "deny" unexpected_cfgs = { level = "warn", check-cfg = [ 'cfg(UI_TESTS)', diff --git a/internal/Cargo.toml b/internal/Cargo.toml index c8810106..c28357d9 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -22,4 +22,5 @@ rustc_version = "0.4" [lints.rust] stable_features = "allow" +unused_features = "allow" unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kernel)'] }