chore: fixup cargo lint for windows targets (#1071)

Crossterm brings in multiple versions of the same dep
This commit is contained in:
Josh McKinney 2024-05-01 05:59:09 -07:00 committed by GitHub
parent e95230beda
commit 64eb3913a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,15 @@
# https://rust-lang.github.io/rust-clippy/master/index.html#/multiple_crate_versions
# ratatui -> bitflags v2.3
# termwiz -> wezterm-blob-leases -> mac_address -> nix -> bitflags v1.3.2
allowed-duplicate-crates = ["bitflags"]
# crossterm -> all the windows- deps https://github.com/ratatui-org/ratatui/pull/1064#issuecomment-2078848980
allowed-duplicate-crates = [
"bitflags",
"windows-targets",
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
]