From d4589d9600b5bddd3482c9f35414d4f843255d13 Mon Sep 17 00:00:00 2001 From: gennyble Date: Mon, 9 Oct 2023 02:28:37 -0500 Subject: accept jpeg input with zune_jpeg --- Cargo.lock | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index d04e722..4256a12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -20,6 +20,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" + [[package]] name = "bytemuck" version = "1.14.0" @@ -73,6 +79,12 @@ dependencies = [ "miniz_oxide", ] +[[package]] +name = "log" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" + [[package]] name = "miniz_oxide" version = "0.7.1" @@ -88,7 +100,7 @@ name = "png" version = "0.17.10" source = "git+https://github.com/image-rs/image-png.git?rev=f10238a1e886b228e7da5301e5c0f5011316f2d6#f10238a1e886b228e7da5301e5c0f5011316f2d6" dependencies = [ - "bitflags", + "bitflags 1.3.2", "crc32fast", "fdeflate", "flate2", @@ -118,4 +130,24 @@ dependencies = [ "camino", "colorsquash", "png", + "zune-jpeg", +] + +[[package]] +name = "zune-core" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29ca36c2e02af0d8d7ee977542bfe33ed1c516be73d3c1faa4420af46e96ceee" +dependencies = [ + "bitflags 2.4.0", +] + +[[package]] +name = "zune-jpeg" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2848e8f4f29dbdcc79910ab3abdff22bb0bacef8556f2a983b5ca950d8b4991e" +dependencies = [ + "log", + "zune-core", ] -- cgit 1.4.1-3-g733a5