about summary refs log tree commit diff
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2023-12-30 20:13:25 +0300
committerklensy <klensy@users.noreply.github.com>2024-01-07 16:53:32 +0300
commit46cf55ac6fa8d0e45e1d4f47cc9d9dd467da90d4 (patch)
tree6e8e8ff0cc963e6e0c173dfddc3b30b5d373f387
parent5b153b52a25dfe4c9592dd6c9f47582018b4fa61 (diff)
downloadrust-46cf55ac6fa8d0e45e1d4f47cc9d9dd467da90d4.tar.gz
rust-46cf55ac6fa8d0e45e1d4f47cc9d9dd467da90d4.zip
tidy: add\remove deps
-rw-r--r--src/tools/tidy/src/deps.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs
index 3c00027b9fd..f6769877a19 100644
--- a/src/tools/tidy/src/deps.rs
+++ b/src/tools/tidy/src/deps.rs
@@ -194,6 +194,7 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
     "aho-corasick",
     "allocator-api2", // FIXME: only appears in Cargo.lock due to https://github.com/rust-lang/cargo/issues/10801
     "annotate-snippets",
+    "anstyle",
     "ar_archive_writer",
     "arrayvec",
     "autocfg",
@@ -390,7 +391,6 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
     "windows_x86_64_gnullvm",
     "windows_x86_64_msvc",
     "writeable",
-    "yansi-term", // this is a false-positive: it's only used by rustfmt, but because it's enabled through a feature, tidy thinks it's used by rustc as well.
     "yoke",
     "yoke-derive",
     "zerocopy",