Skip to content

Commit a914bb5

Browse files
authored
chore(deps): use unicode-rs as the idna backend (#10390)
1 parent d8814d3 commit a914bb5

File tree

4 files changed

+38
-245
lines changed

4 files changed

+38
-245
lines changed

Cargo.lock

Lines changed: 27 additions & 245 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,11 @@ vergen = { version = "8", default-features = false }
315315
yansi = { version = "1.0", features = ["detect-tty", "detect-env"] }
316316
path-slash = "0.2"
317317

318+
# Use unicode-rs which has a smaller binary size than the default ICU4X as the IDNA backend, used
319+
# by the `url` crate.
320+
# See the `idna_adapter` README.md for more details: https://docs.rs/crate/idna_adapter/latest
321+
idna_adapter = "=1.1.0"
322+
318323
[patch.crates-io]
319324
## alloy-core
320325
# alloy-dyn-abi = { path = "../../alloy-rs/core/crates/dyn-abi" }

crates/test-utils/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ rand.workspace = true
3333
snapbox = { version = "0.6", features = ["json", "regex", "term-svg"] }
3434
tempfile.workspace = true
3535

36+
# See /Cargo.toml.
37+
idna_adapter.workspace = true
38+
3639
[dev-dependencies]
3740
tokio.workspace = true
3841
foundry-block-explorers.workspace = true

0 commit comments

Comments
 (0)