diff --git a/Cargo.toml b/Cargo.toml index c96fc03..5d2044a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,7 @@ async-telegram-trait = ["dep:async-trait"] [lints.rust] unsafe_code = "forbid" +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_analyzer)'] } [lints.clippy] pedantic = { level = "warn", priority = -1 } nursery = { level = "warn", priority = -1 }