Skip to content

Commit

Permalink
release: 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Oct 13, 2023
2 parents 8d4b054 + d786894 commit 6b70e7b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 36 deletions.
36 changes: 11 additions & 25 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,43 @@
# 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:[email protected]) | 0BSD, Apache-2.0, or MIT |
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.3 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
| [argyle](https://github.com/Blobfolio/argyle) | 0.6.8 | [Blobfolio, LLC.](mailto:[email protected]) | 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:[email protected]) and [Joshua Landau](mailto:[email protected]) | Apache-2.0 or MIT |
| [bytemuck](https://github.com/Lokathor/bytemuck) | 1.14.0 | [Lokathor](mailto:[email protected]) | Apache-2.0, MIT, or Zlib |
| [byteorder](https://github.com/BurntSushi/byteorder) | 1.4.3 | [Andrew Gallant](mailto:[email protected]) | MIT or Unlicense |
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
| [color_quant](https://github.com/image-rs/color_quant.git) | 1.1.0 | [nwin](mailto:[email protected]) | MIT |
| [crc32fast](https://github.com/srijs/rust-crc32fast) | 1.3.2 | [Sam Rijs](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | 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 |
| [ctrlc](https://github.com/Detegr/rust-ctrlc.git) | 3.4.1 | [Antti Keränen](mailto:[email protected]) | Apache-2.0 or MIT |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.5.2 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dowser](https://github.com/Blobfolio/dowser) | 0.8.0 | [Blobfolio, LLC.](mailto:[email protected]) | 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:[email protected]) | 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:[email protected]) and [Josh Triplett](mailto:[email protected]) | Apache-2.0 or MIT |
| [funty](https://github.com/myrrlyn/funty) | 2.0.0 | [myrrlyn](mailto:[email protected]) | MIT |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.6 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.12.3 | [Amanieu d'Antras](mailto:[email protected]) | 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:[email protected]) | Apache-2.0 |
| [libdeflater](https://github.com/adamkewley/libdeflater) | 0.11.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.14.1 | [Amanieu d'Antras](mailto:[email protected]) | 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:[email protected]) | Apache-2.0 |
| [libdeflater](https://github.com/adamkewley/libdeflater) | 1.19.0 | [Adam Kewley](mailto:[email protected]) | 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:[email protected]) | MIT |
| [miniz_oxide](https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide) | 0.7.1 | [Frommi](mailto:[email protected]) and [oyvindln](mailto:[email protected]) | Apache-2.0, MIT, or Zlib |
| [mozjpeg-sys](https://github.com/kornelski/mozjpeg-sys.git) | 2.0.2 | [Kornel](mailto:[email protected]) | 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:[email protected]) | 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:[email protected]) | 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:[email protected]) | MIT |
| [radium](https://github.com/bitvecto-rs/radium) | 0.7.0 | [Nika Layzell](mailto:[email protected]) and [myrrlyn](mailto:[email protected]) | MIT |
| [rayon](https://github.com/rayon-rs/rayon) | 1.8.0 | [Niko Matsakis](mailto:[email protected]) and [Josh Stone](mailto:[email protected]) | Apache-2.0 or MIT |
| [rayon-core](https://github.com/rayon-rs/rayon) | 1.12.0 | [Niko Matsakis](mailto:[email protected]) and [Josh Stone](mailto:[email protected]) | Apache-2.0 or MIT |
| [rgb](https://github.com/kornelski/rust-rgb) | 0.8.36 | [Kornel Lesiński](mailto:[email protected]) | 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:[email protected]) | MIT |
| [tap](https://github.com/myrrlyn/tap) | 1.0.1 | [Elliott Linder](mailto:[email protected]) and [myrrlyn](mailto:[email protected]) | MIT |
| [tempfile](https://github.com/Stebalien/tempfile) | 3.8.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | Apache-2.0 or MIT |
| [term_size](https://github.com/kbknapp/term_size-rs.git) | 0.3.2 | [Kevin K.](mailto:[email protected]) and [Benjamin Sago](mailto:[email protected]) | Apache-2.0 or MIT |
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flaca"
version = "2.4.0"
version = "2.4.1"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
Expand Down Expand Up @@ -114,11 +114,11 @@ version = "0.11.*"
features = [ "progress" ]

[dependencies.mozjpeg-sys]
version = "=2.0.2"
version = "=2.0.3"
features = [ "jpegtran" ]

[dependencies.oxipng]
version = "=8.0.0"
version = "=9.0.0"
default-features = false

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions release/man/flaca.1
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
9 changes: 3 additions & 6 deletions src/image/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,15 @@ fn encode_zopflipng(raw: &mut Vec<u8>) {
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,
Expand All @@ -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,
Expand Down

0 comments on commit 6b70e7b

Please sign in to comment.