From a75cc6aeba4280b909acb7de80ee21065ec7037f Mon Sep 17 00:00:00 2001 From: Lucas Rayan Date: Tue, 20 Oct 2026 15:58:16 -0300 Subject: [PATCH] =?UTF-8?q?Depend=C3=AAncias:=20jpeg-encoder=200.7=20e=20l?= =?UTF-8?q?z4=5Fflex=200.14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Consolida os PRs #27-#30 do Dependabot. O lz4_flex 0.14 exige a feature alloc quando default-features = false, caso contrário a API decompress que retorna Vec não é compilada. --- Cargo.lock | 8 ++++---- crates/guara-core/Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 162d7e6..6205bdd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -548,9 +548,9 @@ checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07" [[package]] name = "jpeg-encoder" -version = "0.6.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b454d911ac55068f53495488d8ccd0646eaa540c033a28ee15b07838afafb01f" +checksum = "a0370574b86f7eca156b9f298392b5e69a23f8c86f3f865add60bbc2e79467a6" [[package]] name = "libbz2-rs-sys" @@ -578,9 +578,9 @@ checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" [[package]] name = "lz4_flex" -version = "0.11.6" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373f5eceeeab7925e0c1098212f2fbc4d416adec9d35051a6ab251e824c1854a" +checksum = "ecbdfe44b1bd960b68170b417450a628c43f7cf56bb3c5317e61cb230ee7f226" [[package]] name = "md-5" diff --git a/crates/guara-core/Cargo.toml b/crates/guara-core/Cargo.toml index ef4b293..5aa5bc1 100644 --- a/crates/guara-core/Cargo.toml +++ b/crates/guara-core/Cargo.toml @@ -14,7 +14,7 @@ sha2 = "0.11" sha1 = "0.11" md-5 = "0.11" jpeg-decoder = { version = "0.3", default-features = false } -jpeg-encoder = "0.6" +jpeg-encoder = "0.7" image = { version = "0.25", default-features = false, features = ["png", "gif", "bmp", "webp"] } flate2 = { version = "1", default-features = false, features = ["rust_backend"] } thiserror = "2" @@ -23,7 +23,7 @@ bzip2 = "0.6" zip = { version = "9", default-features = false, features = ["deflate"] } snap = "1" ruzstd = "0.9" -lz4_flex = { version = "0.11", default-features = false, features = ["safe-decode", "safe-encode"] } +lz4_flex = { version = "0.14", default-features = false, features = ["alloc", "safe-decode", "safe-encode"] } aes = "0.9" hmac = "0.13" pbkdf2 = { version = "0.13", default-features = false, features = ["hmac"] }