From 91c074966d5742eaa13818759f6f83feb3d6f59a Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 29 Nov 2026 21:49:10 +0100 Subject: [PATCH] Reuse the browser metadata Brotli decoder version --- Cargo.lock | 4 ++-- crates/i18n/Cargo.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0d687f1100..c72f92b028 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3050,8 +3050,8 @@ version = "0.1.0" name = "craft-i18n" version = "0.1.0" dependencies = [ - "brotli 8.0.4", - "brotli-decompressor 5.0.3", + "brotli 9.1.1", + "brotli-decompressor 6.3.1", "chrono", "fixed_decimal", "icu_calendar", diff --git a/crates/i18n/Cargo.toml b/crates/i18n/Cargo.toml index 337e6417aa..19867fdf61 100644 --- a/crates/i18n/Cargo.toml +++ b/crates/i18n/Cargo.toml @@ -34,16 +34,16 @@ icu_collator = { version = "~2.3.1", default-features = false, features = ["serd unicode-bidi = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies] -brotli-decompressor = "5" +brotli-decompressor = { version = "6", default-features = false, features = ["std"] } sys-locale = { version = "0.3", features = ["js"] } # The browser's `Date` supplies the local offset. chrono = { workspace = true, features = ["clock", "wasmbind"] } [build-dependencies] -brotli = "8" +brotli = { version = "9", default-features = false, features = ["std"] } [dev-dependencies] -brotli-decompressor = "5" +brotli-decompressor = { version = "6", default-features = false, features = ["std"] } # The regional format (Region::system); safe registry reads, MIT OR Apache-2.0. [target.'cfg(windows)'.dependencies]