chore: fixup cargo lint for windows targets

Crossterm brings in multiple versions of the same dep
This commit is contained in:
Josh McKinney 2024-04-26 22:44:32 -07:00
parent 4392759501
commit 6c5af6f063
No known key found for this signature in database
GPG key ID: 722287396A903BC5

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",
]