meta: Deny including multiple versions of `image`

To prevent https://github.com/ruffle-rs/ruffle/issues/15836 from reoccurring.
This commit is contained in:
TÖRÖK Attila 2024-05-16 23:08:43 +02:00 committed by sleepycatcoding
parent 331d1789da
commit 7f0e6bfaa5
1 changed files with 8 additions and 3 deletions

View File

@ -56,9 +56,14 @@ license-files = [
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "warn"
# We are manually pinning `tracing-tracy` to match the version used by
# `profiling`, but this can get stale easily.
deny = [{ name = "tracy-client", deny-multiple-versions = true }]
deny = [
# We are manually pinning `tracing-tracy` to match the version used by
# `profiling`, but this can get stale easily.
{ name = "tracy-client", deny-multiple-versions = true },
# Having multiple versions of this can silently cause images (such as
# the logo in the about dialog) in egui to not appear.
{ name = "image", deny-multiple-versions = true },
]
[sources]
# Lint level for what to happen when a crate from a crate registry that is not