about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-10 17:43:08 +0100
committerGitHub <noreply@github.com>2024-11-10 17:43:08 +0100
commitba094269682fd94105d69fd75391452cbbef8ebc (patch)
tree426cd784fc6a56c894814b8565786517042d2705
parent2681dcb18988b5c6e080461054cd85d8b6dc6a58 (diff)
parentbc1c4be2fd14b8f172a4472a2c4926b91cf97bc1 (diff)
downloadrust-ba094269682fd94105d69fd75391452cbbef8ebc.tar.gz
rust-ba094269682fd94105d69fd75391452cbbef8ebc.zip
Rollup merge of #132858 - GuillaumeGomez:update-minifier, r=aDotInTheVoid
Update minifer version to `0.3.2`

This version fixes a few lints but the main change is that it makes `clap` dependency optional since it's only used for the binary.

r? `@notriddle`
-rw-r--r--Cargo.lock7
-rw-r--r--src/librustdoc/Cargo.toml2
2 files changed, 3 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 9cca91c25df..97d07cd6ca8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2223,12 +2223,9 @@ dependencies = [
 
 [[package]]
 name = "minifier"
-version = "0.3.1"
+version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9aa3f302fe0f8de065d4a2d1ed64f60204623cac58b80cd3c2a83a25d5a7d437"
-dependencies = [
- "clap",
-]
+checksum = "bd559bbf5d350ac7f2c1cf92ed71a869b847a92bce0c1318b47932a5b5f65cdd"
 
 [[package]]
 name = "minimal-lexical"
diff --git a/src/librustdoc/Cargo.toml b/src/librustdoc/Cargo.toml
index 57b6de67ee8..70749f7cb17 100644
--- a/src/librustdoc/Cargo.toml
+++ b/src/librustdoc/Cargo.toml
@@ -13,7 +13,7 @@ rinja = { version = "0.3", default-features = false, features = ["config"] }
 base64 = "0.21.7"
 itertools = "0.12"
 indexmap = "2"
-minifier = "0.3.1"
+minifier = { version = "0.3.2", default-features = false }
 pulldown-cmark-old = { version = "0.9.6", package = "pulldown-cmark", default-features = false }
 regex = "1"
 rustdoc-json-types = { path = "../rustdoc-json-types" }