From 587bb5c98ff4ce0a5aa123b72c40d6fa3fffb335 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 8 Jun 2023 12:40:55 -0600 Subject: [PATCH] Remove syn from cargo deny skip, warn on multiple-versions --- deny.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deny.toml b/deny.toml index 60ede87..54d9cb5 100644 --- a/deny.toml +++ b/deny.toml @@ -186,7 +186,7 @@ registries = [ # https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html [bans] # Lint level for when multiple versions of the same crate are detected -multiple-versions = "deny" +multiple-versions = "warn" # Lint level for when a crate version requirement is `*` wildcards = "allow" # The graph highlighting used when creating dotgraphs for crates @@ -243,9 +243,6 @@ deny = [ # Certain crates/versions that will be skipped when doing duplicate detection. skip = [ - # TODO: We allow syn 1.0 during the transition to syn 2.0. Remove this when - # syn is not in the dependency tree anymore. - { name = "syn", version = "1" } #{ name = "ansi_term", version = "=0.11.0" }, ] # Similarly to `skip` allows you to skip certain crates during duplicate