From a0979d68715b2c67b32b8909189bc103f0e81f6e Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Thu, 5 Dec 2024 10:35:06 -0800 Subject: [PATCH] chore(build): remove cargo lint (#1549) Duplicate crate lint is too noisy and sensitive to upstream changes --- Cargo.toml | 1 - clippy.toml | 23 ----------------------- 2 files changed, 24 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a43f6896..6289d125 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,6 @@ lto = true unsafe_code = "forbid" [workspace.lints.clippy] -cargo = { level = "warn", priority = -1 } pedantic = { level = "warn", priority = -1 } cast_possible_truncation = "allow" cast_possible_wrap = "allow" diff --git a/clippy.toml b/clippy.toml index 6e841010..cda8d17e 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1,24 +1 @@ avoid-breaking-exported-api = false - -# 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 -# (also, memoffset, syn, nix, strsim, windows-sys -# crossterm -> all the windows- deps https://github.com/ratatui/ratatui/pull/1064#issuecomment-2078848980 -allowed-duplicate-crates = [ - "bitflags", - "memoffset", - "nix", - "strsim", - "syn", - "windows-sys", - "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", - "unicode-width", -]