From 6c5af6f063b265421a8102630965058ee73f63b5 Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Fri, 26 Apr 2024 22:44:32 -0700 Subject: [PATCH] chore: fixup cargo lint for windows targets Crossterm brings in multiple versions of the same dep --- clippy.toml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/clippy.toml b/clippy.toml index 4e166a69..55ac4723 100644 --- a/clippy.toml +++ b/clippy.toml @@ -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", +]