From 5b86370d392974fb5c36123906c27f87b8d86672 Mon Sep 17 00:00:00 2001 From: Josh Stoik Date: Wed, 11 Oct 2023 11:14:27 -0700 Subject: [PATCH 1/4] bump: oxipng 9.0 --- Cargo.toml | 2 +- src/image/mod.rs | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fdcf6f1..6409898 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -118,7 +118,7 @@ version = "=2.0.2" features = [ "jpegtran" ] [dependencies.oxipng] -version = "=8.0.0" +version = "=9.0.0" default-features = false [build-dependencies] diff --git a/src/image/mod.rs b/src/image/mod.rs index f0b1a5d..ef617e5 100644 --- a/src/image/mod.rs +++ b/src/image/mod.rs @@ -144,19 +144,15 @@ fn encode_zopflipng(raw: &mut Vec) { pub(super) fn oxipng_options() -> OxipngOptions { use oxipng::{ Deflaters, - Headers, IndexSet, Interlacing, RowFilter, + StripChunks, }; OxipngOptions { - backup: false, fix_errors: true, - check: false, - pretend: false, force: false, - preserve_attrs: false, filter: IndexSet::from([ RowFilter::None, RowFilter::Average, @@ -176,7 +172,8 @@ pub(super) fn oxipng_options() -> OxipngOptions { palette_reduction: true, grayscale_reduction: true, idat_recoding: true, - strip: Headers::All, + scale_16: false, + strip: StripChunks::All, deflate: Deflaters::Libdeflater { compression: 12 }, fast_evaluation: false, timeout: None, From 62621a8fbfc754b01a558bbc1ee5182e3a27d5d1 Mon Sep 17 00:00:00 2001 From: Josh Stoik Date: Thu, 12 Oct 2023 18:51:59 -0700 Subject: [PATCH 2/4] bump: mozjpeg-sys 2.0.3 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6409898..7b3d0aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -114,7 +114,7 @@ version = "0.11.*" features = [ "progress" ] [dependencies.mozjpeg-sys] -version = "=2.0.2" +version = "=2.0.3" features = [ "jpegtran" ] [dependencies.oxipng] From bdef727bbec116a7dc4397ce09e8caddfe3e1ff5 Mon Sep 17 00:00:00 2001 From: Josh Stoik Date: Thu, 12 Oct 2023 18:52:12 -0700 Subject: [PATCH 3/4] bump: 2.4.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7b3d0aa..4b98fa5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flaca" -version = "2.4.0" +version = "2.4.1" license = "WTFPL" authors = ["Josh Stoik "] edition = "2021" From d7868949c3c61dd87b9d7afb00c6963fab235106 Mon Sep 17 00:00:00 2001 From: Josh Stoik Date: Thu, 12 Oct 2023 18:58:56 -0700 Subject: [PATCH 4/4] build: 2.4.1 --- CREDITS.md | 36 +++++++++++------------------------- release/man/flaca.1 | 4 ++-- 2 files changed, 13 insertions(+), 27 deletions(-) diff --git a/CREDITS.md b/CREDITS.md index af8a1a1..bdaa49a 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -1,22 +1,16 @@ # Project Dependencies Package: flaca - Version: 2.4.0 - Generated: 2023-10-05 20:59:40 UTC + Version: 2.4.1 + Generated: 2023-10-13 01:52:20 UTC | Package | Version | Author(s) | License | | ---- | ---- | ---- | ---- | -| [adler](https://github.com/jonas-schievink/adler.git) | 1.0.2 | [Jonas Schievink](mailto:jonasschievink@gmail.com) | 0BSD, Apache-2.0, or MIT | | [ahash](https://github.com/tkaitchuck/ahash) | 0.8.3 | [Tom Kaitchuck](mailto:tom.kaitchuck@gmail.com) | Apache-2.0 or MIT | | [argyle](https://github.com/Blobfolio/argyle) | 0.6.8 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | -| [bitflags](https://github.com/bitflags/bitflags) | 1.3.2 | The Rust Project Developers | Apache-2.0 or MIT | | [bitvec](https://github.com/bitvecto-rs/bitvec) | 1.0.1 | | MIT | | [bytecount](https://github.com/llogiq/bytecount) | 0.6.4 | [Andre Bogus](mailto:bogusandre@gmail.de) and [Joshua Landau](mailto:joshua@landau.ws) | Apache-2.0 or MIT | | [bytemuck](https://github.com/Lokathor/bytemuck) | 1.14.0 | [Lokathor](mailto:zefria@gmail.com) | Apache-2.0, MIT, or Zlib | -| [byteorder](https://github.com/BurntSushi/byteorder) | 1.4.3 | [Andrew Gallant](mailto:jamslam@gmail.com) | MIT or Unlicense | | [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:alex@alexcrichton.com) | Apache-2.0 or MIT | -| [color_quant](https://github.com/image-rs/color_quant.git) | 1.1.0 | [nwin](mailto:nwin@users.noreply.github.com) | MIT | -| [crc32fast](https://github.com/srijs/rust-crc32fast) | 1.3.2 | [Sam Rijs](mailto:srijs@airpost.net) and [Alex Crichton](mailto:alex@alexcrichton.com) | Apache-2.0 or MIT | -| [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) | 0.5.8 | | Apache-2.0 or MIT | | [crossbeam-deque](https://github.com/crossbeam-rs/crossbeam) | 0.8.3 | | Apache-2.0 or MIT | | [crossbeam-epoch](https://github.com/crossbeam-rs/crossbeam) | 0.9.15 | | Apache-2.0 or MIT | | [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) | 0.8.16 | | Apache-2.0 or MIT | @@ -24,34 +18,26 @@ | [dactyl](https://github.com/Blobfolio/dactyl) | 0.5.2 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | | [dowser](https://github.com/Blobfolio/dowser) | 0.8.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | | [either](https://github.com/bluss/either) | 1.9.0 | bluss | Apache-2.0 or MIT | +| [equivalent](https://github.com/cuviper/equivalent) | 1.0.1 | | Apache-2.0 or MIT | | [fastrand](https://github.com/smol-rs/fastrand) | 2.0.1 | [Stjepan Glavina](mailto:stjepang@gmail.com) | Apache-2.0 or MIT | -| [fdeflate](https://github.com/image-rs/fdeflate) | 0.3.0 | The image-rs Developers | Apache-2.0 or MIT | -| [flate2](https://github.com/rust-lang/flate2-rs) | 1.0.27 | [Alex Crichton](mailto:alex@alexcrichton.com) and [Josh Triplett](mailto:josh@joshtriplett.org) | Apache-2.0 or MIT | | [funty](https://github.com/myrrlyn/funty) | 2.0.0 | [myrrlyn](mailto:self@myrrlyn.dev) | MIT | | [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.6 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL | -| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.12.3 | [Amanieu d'Antras](mailto:amanieu@gmail.com) | Apache-2.0 or MIT | -| [image](https://github.com/image-rs/image) | 0.24.7 | The image-rs Developers | MIT | -| [indexmap](https://github.com/bluss/indexmap) | 1.9.3 | | Apache-2.0 or MIT | -| [itertools](https://github.com/rust-itertools/itertools) | 0.10.5 | bluss | Apache-2.0 or MIT | -| [libc](https://github.com/rust-lang/libc) | 0.2.148 | The Rust Project Developers | Apache-2.0 or MIT | -| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 0.11.0 | [Adam Kewley](mailto:contact@adamkewley.com) | Apache-2.0 | -| [libdeflater](https://github.com/adamkewley/libdeflater) | 0.11.0 | [Adam Kewley](mailto:contact@adamkewley.com) | Apache-2.0 | +| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.14.1 | [Amanieu d'Antras](mailto:amanieu@gmail.com) | Apache-2.0 or MIT | +| [indexmap](https://github.com/bluss/indexmap) | 2.0.2 | | Apache-2.0 or MIT | +| [libc](https://github.com/rust-lang/libc) | 0.2.149 | The Rust Project Developers | Apache-2.0 or MIT | +| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 1.19.0 | [Adam Kewley](mailto:contact@adamkewley.com) | Apache-2.0 | +| [libdeflater](https://github.com/adamkewley/libdeflater) | 1.19.0 | [Adam Kewley](mailto:contact@adamkewley.com) | Apache-2.0 | | [log](https://github.com/rust-lang/log) | 0.4.20 | The Rust Project Developers | Apache-2.0 or MIT | | [memoffset](https://github.com/Gilnaa/memoffset) | 0.9.0 | [Gilad Naaman](mailto:gilad.naaman@gmail.com) | MIT | -| [miniz_oxide](https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide) | 0.7.1 | [Frommi](mailto:daniil.liferenko@gmail.com) and [oyvindln](mailto:oyvindln@users.noreply.github.com) | Apache-2.0, MIT, or Zlib | -| [mozjpeg-sys](https://github.com/kornelski/mozjpeg-sys.git) | 2.0.2 | [Kornel](mailto:kornel@geekhood.net) | IJG AND Zlib AND BSD-3-Clause | -| [num-integer](https://github.com/rust-num/num-integer) | 0.1.45 | The Rust Project Developers | Apache-2.0 or MIT | -| [num-rational](https://github.com/rust-num/num-rational) | 0.4.1 | The Rust Project Developers | Apache-2.0 or MIT | -| [num-traits](https://github.com/rust-num/num-traits) | 0.2.16 | The Rust Project Developers | Apache-2.0 or MIT | -| [oxipng](https://github.com/shssoichiro/oxipng) | 8.0.0 | [Joshua Holmer](mailto:jholmer.in@gmail.com) | MIT | -| [png](https://github.com/image-rs/image-png.git) | 0.17.10 | The image-rs Developers | Apache-2.0 or MIT | +| [mozjpeg-sys](https://github.com/kornelski/mozjpeg-sys.git) | 2.0.3 | [Kornel](mailto:kornel@geekhood.net) | IJG AND Zlib AND BSD-3-Clause | +| [num-traits](https://github.com/rust-num/num-traits) | 0.2.17 | The Rust Project Developers | Apache-2.0 or MIT | +| [oxipng](https://github.com/shssoichiro/oxipng) | 9.0.0 | [Joshua Holmer](mailto:jholmer.in@gmail.com) | MIT | | [radium](https://github.com/bitvecto-rs/radium) | 0.7.0 | [Nika Layzell](mailto:nika@thelayzells.com) and [myrrlyn](mailto:self@myrrlyn.dev) | MIT | | [rayon](https://github.com/rayon-rs/rayon) | 1.8.0 | [Niko Matsakis](mailto:niko@alum.mit.edu) and [Josh Stone](mailto:cuviper@gmail.com) | Apache-2.0 or MIT | | [rayon-core](https://github.com/rayon-rs/rayon) | 1.12.0 | [Niko Matsakis](mailto:niko@alum.mit.edu) and [Josh Stone](mailto:cuviper@gmail.com) | Apache-2.0 or MIT | | [rgb](https://github.com/kornelski/rust-rgb) | 0.8.36 | [Kornel LesiƄski](mailto:kornel@geekhood.net) | MIT | | [rustc-hash](https://github.com/rust-lang-nursery/rustc-hash) | 1.1.0 | The Rust Project Developers | Apache-2.0 or MIT | | [scopeguard](https://github.com/bluss/scopeguard) | 1.2.0 | bluss | Apache-2.0 or MIT | -| [simd-adler32](https://github.com/mcountryman/simd-adler32) | 0.3.7 | [Marvin Countryman](mailto:me@maar.vin) | MIT | | [tap](https://github.com/myrrlyn/tap) | 1.0.1 | [Elliott Linder](mailto:elliott.darfink@gmail.com) and [myrrlyn](mailto:self@myrrlyn.dev) | MIT | | [tempfile](https://github.com/Stebalien/tempfile) | 3.8.0 | [Steven Allen](mailto:steven@stebalien.com), The Rust Project Developers, [Ashley Mannix](mailto:ashleymannix@live.com.au), and [Jason White](mailto:me@jasonwhite.io) | Apache-2.0 or MIT | | [term_size](https://github.com/kbknapp/term_size-rs.git) | 0.3.2 | [Kevin K.](mailto:kbknapp@gmail.com) and [Benjamin Sago](mailto:ogham@bsago.me) | Apache-2.0 or MIT | diff --git a/release/man/flaca.1 b/release/man/flaca.1 index b331602..baae5ae 100644 --- a/release/man/flaca.1 +++ b/release/man/flaca.1 @@ -1,6 +1,6 @@ -.TH "FLACA" "1" "October 2023" "Flaca v2.4.0" "User Commands" +.TH "FLACA" "1" "October 2023" "Flaca v2.4.1" "User Commands" .SH NAME -Flaca \- Manual page for flaca v2.4.0. +Flaca \- Manual page for flaca v2.4.1. .SH DESCRIPTION Brute\-force, lossless JPEG and PNG compression. .SS USAGE: