Remove syn from cargo deny skip, warn on multiple-versions

This commit is contained in:
Jeremy Soller 2023-06-08 12:40:55 -06:00
parent 39895c988a
commit 587bb5c98f
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -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