From eb8f6743bbea345a01e8c7cd5160f5b86db3297a Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 9 Jul 2024 14:24:57 +0100 Subject: [PATCH] Bump RGB crate --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- src/reduction/color.rs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c2825c05..312056ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,9 +88,9 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.15.0" +version = "1.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" +checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" [[package]] name = "byteorder" @@ -439,9 +439,9 @@ dependencies = [ [[package]] name = "rgb" -version = "0.8.37" +version = "0.8.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05aaa8004b64fd573fc9d002f4e632d51ad4f026c2b5ba95fcb6c2f32c2c47d8" +checksum = "1aee83dc281d5a3200d37b299acd13b81066ea126a7f16f0eae70fc9aed241d9" dependencies = [ "bytemuck", ] diff --git a/Cargo.toml b/Cargo.toml index 2c7c7b94..e5a8aa57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ required-features = ["zopfli"] [dependencies] zopfli = { version = "0.8.0", optional = true, default-features = false, features = ["std", "zlib"] } -rgb = "0.8.37" +rgb = "0.8.43" indexmap = "2.2.6" libdeflater = "1.20.0" log = "0.4.21" diff --git a/src/reduction/color.rs b/src/reduction/color.rs index a8e36adc..5797b19b 100644 --- a/src/reduction/color.rs +++ b/src/reduction/color.rs @@ -54,7 +54,7 @@ pub fn reduced_to_indexed(png: &PngImage, allow_grayscale: bool) -> Option Option