From 0f7b3f3b04479c37fa44bf21868e18074c7720b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 29 Nov 2024 20:47:06 +0100 Subject: [PATCH] chore: Allow necessary cfg attribute --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 20beada5..c04ff819 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,6 +43,9 @@ web-time = "1.1.0" [workspace.lints.rust] rust_2018_idioms = { level = "warn", priority = -1 } semicolon_in_expressions_from_macros = "warn" +unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(ruma_identifiers_storage, values("Arc"))', # used by the IdZst macro +] } unreachable_pub = "warn" unused_import_braces = "warn" unused_qualifications = "warn"