From e770f7844fd0d2c1e419f25014c6607b984e2f76 Mon Sep 17 00:00:00 2001 From: ldm0 Date: Thu, 22 Oct 2026 01:44:33 +0800 Subject: [PATCH] fix(deps): retain shared pinned IDNA with the vendored URL implementation Keep main's pinned rust-url IDNA patch while retaining the local URL fork's file-host and path-segment fixes. Resolve URL, cookie and renderer consumers to one shared IDNA package. --- Cargo.lock | 3 +-- Cargo.toml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a30634c0bcb..3a5cc32d53c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2137,8 +2137,7 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +source = "git+https://github.com/lexmount/rust-url?rev=ca9fcad2b99f20c30c28a618ad78410f6fd31161#ca9fcad2b99f20c30c28a618ad78410f6fd31161" dependencies = [ "idna_adapter", "smallvec", diff --git a/Cargo.toml b/Cargo.toml index e20d2c625be..82c27771743 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,6 +121,7 @@ fontique = { git = "https://github.com/lexmount/parley", rev = "a18cfc3ba6638d44 # Share fontations between shaping, raster rendering and PDF font subsetting. subsetter = { git = "https://github.com/lexmount/subsetter", rev = "8d3815245835af309559c3b4a872d6a0a54913a9" } url = { path = "vendor/url-2.5.8" } +idna = { git = "https://github.com/lexmount/rust-url", rev = "ca9fcad2b99f20c30c28a618ad78410f6fd31161" } html5ever = { path = "vendor/html5ever-0.40.1" } xml5ever = { git = "https://github.com/lexmount/html5ever", rev = "4574311c63e79bba7d4ddb98cb0562d8dad499ee" } curl = { git = "https://github.com/lexmount/curl-rust", rev = "0392e12475d8d1160d4cae07c172cac02797cc25" }