chore: Allow necessary cfg attribute

This commit is contained in:
Kévin Commaille 2024-11-29 20:47:06 +01:00 committed by strawberry
parent 13a546056e
commit 0f7b3f3b04

View File

@ -43,6 +43,9 @@ web-time = "1.1.0"
[workspace.lints.rust] [workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 } rust_2018_idioms = { level = "warn", priority = -1 }
semicolon_in_expressions_from_macros = "warn" 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" unreachable_pub = "warn"
unused_import_braces = "warn" unused_import_braces = "warn"
unused_qualifications = "warn" unused_qualifications = "warn"