Skip to content

Commit a71d919

Browse files
committed
release: 3.5.2
2 parents 9a87b3e + 46124ec commit a71d919

11 files changed

Lines changed: 91 additions & 120 deletions

File tree

CREDITS.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,71 @@
11
# Project Dependencies
22
Package: flaca
3-
Version: 3.5.1
3+
Version: 3.5.2
44
Target: x86_64-unknown-linux-gnu
5-
Generated: 2025-09-19 03:03:37 UTC
5+
Generated: 2025-10-31 01:37:12 UTC
66

77
| Package | Version | Author(s) | License |
88
| ---- | ---- | ---- | ---- |
99
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.12 | [Tom Kaitchuck](mailto:[email protected]) | MIT OR Apache-2.0 |
10-
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.13.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
10+
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.14.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
1111
| [autocfg](https://github.com/cuviper/autocfg) ⚒️ | 1.5.0 | [Josh Stone](mailto:[email protected]) | Apache-2.0 OR MIT |
1212
| [**bindgen**](https://github.com/rust-lang/rust-bindgen) ⚒️ | 0.72.1 | [Jyun-Yan You](mailto:[email protected]), [Emilio Cobos Álvarez](mailto:[email protected]), [Nick Fitzgerald](mailto:[email protected]), and The Servo project developers | BSD-3-Clause |
13-
| [bitflags](https://github.com/bitflags/bitflags) | 2.9.4 | The Rust Project Developers | MIT OR Apache-2.0 |
13+
| [bitflags](https://github.com/bitflags/bitflags) | 2.10.0 | The Rust Project Developers | MIT OR Apache-2.0 |
1414
| [bitvec](https://github.com/bitvecto-rs/bitvec) | 1.0.1 | | MIT |
15-
| [bytemuck](https://github.com/Lokathor/bytemuck) | 1.23.2 | [Lokathor](mailto:[email protected]) | Zlib OR Apache-2.0 OR MIT |
15+
| [bytemuck](https://github.com/Lokathor/bytemuck) | 1.24.0 | [Lokathor](mailto:[email protected]) | Zlib OR Apache-2.0 OR MIT |
1616
| [byteorder-lite](https://github.com/image-rs/byteorder-lite) | 0.1.0 | | Unlicense OR MIT |
17-
| [**cc**](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.37 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
17+
| [**cc**](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.43 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
1818
| [cexpr](https://github.com/jethrogb/rust-cexpr) ⚒️ | 0.6.0 | [Jethro Beekman](mailto:[email protected]) | Apache-2.0 OR MIT |
19-
| [cfg-if](https://github.com/rust-lang/cfg-if) | 1.0.3 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
19+
| [cfg-if](https://github.com/rust-lang/cfg-if) | 1.0.4 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
2020
| [clang-sys](https://github.com/KyleMayes/clang-sys) ⚒️ | 1.8.1 | [Kyle Mayes](mailto:[email protected]) | Apache-2.0 |
2121
| [color_quant](https://github.com/image-rs/color_quant.git) | 1.1.0 | [nwin](mailto:[email protected]) | MIT |
2222
| [**crc32fast**](https://github.com/srijs/rust-crc32fast) | 1.5.0 | [Sam Rijs](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
2323
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.13.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
24-
| [**dowser**](https://github.com/Blobfolio/dowser) | 0.17.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
24+
| [**dowser**](https://github.com/Blobfolio/dowser) | 0.18.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
2525
| [dunce](https://gitlab.com/kornelski/dunce) ⚒️ | 1.0.5 | [Kornel](mailto:[email protected]) | CC0-1.0 OR MIT-0 OR Apache-2.0 |
2626
| [either](https://github.com/rayon-rs/either) ⚒️ | 1.15.0 | bluss | MIT OR Apache-2.0 |
2727
| [equivalent](https://github.com/indexmap-rs/equivalent) | 1.0.2 | | Apache-2.0 OR MIT |
2828
| [fastrand](https://github.com/smol-rs/fastrand) | 2.3.0 | [Stjepan Glavina](mailto:[email protected]) | Apache-2.0 OR MIT |
2929
| [filetime](https://github.com/alexcrichton/filetime) | 0.2.26 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
30-
| [find-msvc-tools](https://github.com/rust-lang/cc-rs) ⚒️ | 0.1.1 | | MIT OR Apache-2.0 |
31-
| **flapfli** | 3.5.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
30+
| [find-msvc-tools](https://github.com/rust-lang/cc-rs) ⚒️ | 0.1.4 | | MIT OR Apache-2.0 |
31+
| **flapfli** | 3.5.2 | [Josh Stoik](mailto:[email protected]) | WTFPL |
3232
| [**flume**](https://github.com/zesterer/flume) | 0.11.1 | [Joshua Barretto](mailto:[email protected]) | Apache-2.0 OR MIT |
3333
| [funty](https://github.com/myrrlyn/funty) | 2.0.0 | [myrrlyn](mailto:[email protected]) | MIT |
34-
| [fyi_ansi](https://github.com/Blobfolio/fyi) | 2.2.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
35-
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 2.4.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
36-
| [getrandom](https://github.com/rust-random/getrandom) | 0.3.3 | The Rand Project Developers | MIT OR Apache-2.0 |
34+
| [fyi_ansi](https://github.com/Blobfolio/fyi) | 2.2.2 | [Josh Stoik](mailto:[email protected]) | WTFPL |
35+
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 2.4.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
36+
| [getrandom](https://github.com/rust-random/getrandom) | 0.3.4 | The Rand Project Developers | MIT OR Apache-2.0 |
3737
| [gif](https://github.com/image-rs/image-gif) | 0.13.3 | The image-rs Developers | MIT OR Apache-2.0 |
3838
| [**gifsicle**](https://gitlab.com/kornelski/gifsicle-rust.git) | 1.95.0 | [Eddie Kohler](mailto:[email protected]), [Kornel](mailto:[email protected]), and [Hans Dinsen-Hansen](mailto:[email protected]) | |
3939
| [glob](https://github.com/rust-lang/glob) ⚒️ | 0.3.3 | The Rust Project Developers | MIT OR Apache-2.0 |
4040
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.16.0 | [Amanieu d'Antras](mailto:[email protected]) | MIT OR Apache-2.0 |
4141
| [**image**](https://github.com/image-rs/image) | 0.25.8 | The image-rs Developers | MIT OR Apache-2.0 |
42-
| [indexmap](https://github.com/indexmap-rs/indexmap) | 2.11.4 | | Apache-2.0 OR MIT |
42+
| [indexmap](https://github.com/indexmap-rs/indexmap) | 2.12.0 | | Apache-2.0 OR MIT |
4343
| [itertools](https://github.com/rust-itertools/itertools) ⚒️ | 0.13.0 | bluss | MIT OR Apache-2.0 |
44-
| [**libc**](https://github.com/rust-lang/libc) | 0.2.175 | The Rust Project Developers | MIT OR Apache-2.0 |
44+
| [**libc**](https://github.com/rust-lang/libc) | 0.2.177 | The Rust Project Developers | MIT OR Apache-2.0 |
4545
| [libdeflate-sys](https://github.com/adamkewley/libdeflater) | 1.24.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
4646
| [libdeflater](https://github.com/adamkewley/libdeflater) | 1.24.0 | [Adam Kewley](mailto:[email protected]) | Apache-2.0 |
47-
| [libloading](https://github.com/nagisa/rust_libloading/) ⚒️ | 0.8.8 | [Simonas Kazlauskas](mailto:[email protected]) | ISC |
47+
| [libloading](https://github.com/nagisa/rust_libloading/) ⚒️ | 0.8.9 | [Simonas Kazlauskas](mailto:[email protected]) | ISC |
4848
| [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | 0.11.0 | [Dan Gohman](mailto:[email protected]) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
49-
| [lock_api](https://github.com/Amanieu/parking_lot) | 0.4.13 | [Amanieu d'Antras](mailto:[email protected]) | MIT OR Apache-2.0 |
49+
| [lock_api](https://github.com/Amanieu/parking_lot) | 0.4.14 | [Amanieu d'Antras](mailto:[email protected]) | MIT OR Apache-2.0 |
5050
| [**lodepng**](https://github.com/lvandeve/lodepng) | 2025.5.6 | Lode Vandevenne | Zlib |
5151
| [log](https://github.com/rust-lang/log) | 0.4.28 | The Rust Project Developers | MIT OR Apache-2.0 |
52-
| [memchr](https://github.com/BurntSushi/memchr) ⚒️ | 2.7.5 | [Andrew Gallant](mailto:[email protected]) and bluss | Unlicense OR MIT |
52+
| [memchr](https://github.com/BurntSushi/memchr) ⚒️ | 2.7.6 | [Andrew Gallant](mailto:[email protected]) and bluss | Unlicense OR MIT |
5353
| [minimal-lexical](https://github.com/Alexhuszagh/minimal-lexical) ⚒️ | 0.2.1 | [Alex Huszagh](mailto:[email protected]) | MIT OR Apache-2.0 |
54-
| [moxcms](https://github.com/awxkee/moxcms.git) | 0.7.5 | Radzivon Bartoshyk | BSD-3-Clause OR Apache-2.0 |
54+
| [moxcms](https://github.com/awxkee/moxcms.git) | 0.7.9 | Radzivon Bartoshyk | BSD-3-Clause OR Apache-2.0 |
5555
| [**mozjpeg-sys**](https://github.com/kornelski/mozjpeg-sys.git) | 2.2.3 | [Kornel](mailto:[email protected]) | IJG AND Zlib AND BSD-3-Clause |
5656
| [nasm-rs](https://github.com/medek/nasm-rs) ⚒️ | 0.3.1 | [Allen Goodman](mailto:[email protected]), [Gavin Massey](mailto:[email protected]), [Jerome Rasky](mailto:[email protected]), [Justinas Stankevičius](mailto:[email protected]), and [Kornel Lesinski](mailto:[email protected]) | MIT OR Apache-2.0 |
5757
| [nom](https://github.com/Geal/nom) ⚒️ | 7.1.3 | [email protected] | MIT |
5858
| [num-traits](https://github.com/rust-num/num-traits) | 0.2.19 | The Rust Project Developers | MIT OR Apache-2.0 |
5959
| [once_cell](https://github.com/matklad/once_cell) | 1.21.3 | [Aleksey Kladov](mailto:[email protected]) | MIT OR Apache-2.0 |
6060
| [**oxipng**](https://github.com/shssoichiro/oxipng) | 9.1.5 | [Joshua Holmer](mailto:[email protected]) | MIT |
6161
| [prettyplease](https://github.com/dtolnay/prettyplease) ⚒️ | 0.2.37 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
62-
| [proc-macro2](https://github.com/dtolnay/proc-macro2) ⚒️ | 1.0.101 | [David Tolnay](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
63-
| [pxfm](https://github.com/awxkee/pxfm) | 0.1.23 | Radzivon Bartoshyk | BSD-3-Clause OR Apache-2.0 |
64-
| [quote](https://github.com/dtolnay/quote) ⚒️ | 1.0.40 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
62+
| [proc-macro2](https://github.com/dtolnay/proc-macro2) ⚒️ | 1.0.103 | [David Tolnay](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
63+
| [pxfm](https://github.com/awxkee/pxfm) | 0.1.25 | Radzivon Bartoshyk | BSD-3-Clause OR Apache-2.0 |
64+
| [quote](https://github.com/dtolnay/quote) ⚒️ | 1.0.41 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
6565
| [radium](https://github.com/bitvecto-rs/radium) | 0.7.0 | [Nika Layzell](mailto:[email protected]) and [myrrlyn](mailto:[email protected]) | MIT |
66-
| [regex](https://github.com/rust-lang/regex) ⚒️ | 1.11.2 | The Rust Project Developers and [Andrew Gallant](mailto:[email protected]) | MIT OR Apache-2.0 |
67-
| [regex-automata](https://github.com/rust-lang/regex) ⚒️ | 0.4.10 | The Rust Project Developers and [Andrew Gallant](mailto:[email protected]) | MIT OR Apache-2.0 |
68-
| [regex-syntax](https://github.com/rust-lang/regex) ⚒️ | 0.8.6 | The Rust Project Developers and [Andrew Gallant](mailto:[email protected]) | MIT OR Apache-2.0 |
66+
| [regex](https://github.com/rust-lang/regex) ⚒️ | 1.12.2 | The Rust Project Developers and [Andrew Gallant](mailto:[email protected]) | MIT OR Apache-2.0 |
67+
| [regex-automata](https://github.com/rust-lang/regex) ⚒️ | 0.4.13 | The Rust Project Developers and [Andrew Gallant](mailto:[email protected]) | MIT OR Apache-2.0 |
68+
| [regex-syntax](https://github.com/rust-lang/regex) ⚒️ | 0.8.8 | The Rust Project Developers and [Andrew Gallant](mailto:[email protected]) | MIT OR Apache-2.0 |
6969
| [rgb](https://github.com/kornelski/rust-rgb) | 0.8.52 | [Kornel Lesiński](mailto:[email protected]) and [James Forster](mailto:[email protected]) | MIT |
7070
| [rustc-hash](https://github.com/rust-lang/rustc-hash) | 2.1.1 | The Rust Project Developers | Apache-2.0 OR MIT |
7171
| [rustix](https://github.com/bytecodealliance/rustix) | 1.1.2 | [Dan Gohman](mailto:[email protected]) and [Jakub Konka](mailto:[email protected]) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
@@ -74,13 +74,13 @@
7474
| [signal-hook](https://github.com/vorner/signal-hook) | 0.3.18 | [Michal 'vorner' Vaner](mailto:[email protected]) and [Thomas Himmelstoss](mailto:[email protected]) | Apache-2.0 OR MIT |
7575
| [signal-hook-registry](https://github.com/vorner/signal-hook) | 1.4.6 | [Michal 'vorner' Vaner](mailto:[email protected]) and [Masaki Hara](mailto:[email protected]) | Apache-2.0 OR MIT |
7676
| [spin](https://github.com/mvdnes/spin-rs.git) | 0.9.8 | [Mathijs van de Nes](mailto:[email protected]), [John Ericson](mailto:[email protected]), and [Joshua Barretto](mailto:[email protected]) | MIT |
77-
| [syn](https://github.com/dtolnay/syn) ⚒️ | 2.0.106 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
77+
| [syn](https://github.com/dtolnay/syn) ⚒️ | 2.0.108 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
7878
| [tap](https://github.com/myrrlyn/tap) | 1.0.1 | [Elliott Linder](mailto:[email protected]) and [myrrlyn](mailto:[email protected]) | MIT |
79-
| [tempfile](https://github.com/Stebalien/tempfile) | 3.22.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | MIT OR Apache-2.0 |
79+
| [tempfile](https://github.com/Stebalien/tempfile) | 3.23.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | MIT OR Apache-2.0 |
8080
| [terminal_size](https://github.com/eminence/terminal-size) | 0.4.3 | [Andrew Chin](mailto:[email protected]) | MIT OR Apache-2.0 |
81-
| [unicode-ident](https://github.com/dtolnay/unicode-ident) ⚒️ | 1.0.19 | [David Tolnay](mailto:[email protected]) | (MIT OR Apache-2.0) AND Unicode-3.0 |
82-
| [unicode-width](https://github.com/unicode-rs/unicode-width) | 0.2.1 | [kwantam](mailto:[email protected]) and [Manish Goregaokar](mailto:[email protected]) | MIT OR Apache-2.0 |
83-
| [**utc2k**](https://github.com/Blobfolio/utc2k) | 0.17.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
81+
| [unicode-ident](https://github.com/dtolnay/unicode-ident) ⚒️ | 1.0.22 | [David Tolnay](mailto:[email protected]) | (MIT OR Apache-2.0) AND Unicode-3.0 |
82+
| [unicode-width](https://github.com/unicode-rs/unicode-width) | 0.2.2 | [kwantam](mailto:[email protected]) and [Manish Goregaokar](mailto:[email protected]) | MIT OR Apache-2.0 |
83+
| [**utc2k**](https://github.com/Blobfolio/utc2k) | 0.18.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
8484
| [version_check](https://github.com/SergioBenitez/version_check) ⚒️ | 0.9.5 | [Sergio Benitez](mailto:[email protected]) | MIT OR Apache-2.0 |
8585
| [weezl](https://github.com/image-rs/weezl) | 0.1.10 | The image-rs Developers | MIT OR Apache-2.0 |
8686
| [**write_atomic**](https://github.com/Blobfolio/write_atomic) | 0.7.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |

flaca/Cargo.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flaca"
3-
version = "3.5.1"
3+
version = "3.5.2"
44
license = "WTFPL"
55
authors = ["Josh Stoik <[email protected]>"]
66
edition = "2024"
@@ -132,20 +132,17 @@ authors = [ "Lode Vandevenne" ]
132132
repository = "https://github.com/lvandeve/lodepng"
133133

134134
[build-dependencies]
135-
argyle = "0.13.*"
135+
argyle = "0.14.*"
136136

137137
[dependencies]
138+
argyle = "0.14.*"
138139
dactyl = "0.13.*"
139-
dowser = "0.17.*"
140+
dowser = "0.18.*"
140141
gifsicle = "=1.95.0"
141142
libc = "0.2.*"
142-
utc2k = "0.17.*"
143+
utc2k = "0.18.*"
143144
write_atomic = "0.7.*"
144145

145-
[dependencies.argyle]
146-
version = "0.13.*"
147-
features = [ "try_paths" ]
148-
149146
[dependencies.flapfli]
150147
version = "*"
151148
path = "../flapfli"

flaca/build.rs

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
# Flaca - Build
33
*/
44

5-
use argyle::{
6-
FlagsBuilder,
7-
KeyWordsBuilder,
8-
};
5+
use argyle::FlagsBuilder;
96
use std::path::PathBuf;
107

118

@@ -19,32 +16,9 @@ fn main() {
1916
#[cfg(not(target_pointer_width = "64"))]
2017
panic!("Flaca requires a 64-bit CPU architecture.");
2118

22-
build_cli();
2319
build_kinds();
2420
}
2521

26-
/// # Build CLI Arguments.
27-
fn build_cli() {
28-
let mut builder = KeyWordsBuilder::default();
29-
builder.push_keys([
30-
"-h", "--help",
31-
"--no-gif",
32-
"--no-jpg", "--no-jpeg",
33-
"--no-png",
34-
"--no-symlinks",
35-
"--preserve-times",
36-
"-p", "--progress",
37-
"-V", "--version",
38-
]);
39-
builder.push_keys_with_values([
40-
"-j",
41-
"-l", "--list",
42-
"--max-pixels",
43-
"-z",
44-
]);
45-
builder.save(out_path("argyle.rs"));
46-
}
47-
4822
/// # Build Image Kinds.
4923
fn build_kinds() {
5024
FlagsBuilder::new("ImageKind")

flaca/src/crawl.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ pub(super) struct Crawler {
3131
/// # Follow Symlinks?
3232
symlinks: bool,
3333

34+
/// # STDIN?
35+
stdin: bool,
36+
3437
/// # Path Roots.
3538
paths: Vec<OsString>,
3639

@@ -45,6 +48,7 @@ impl Crawler {
4548
pub(super) const fn new() -> Self {
4649
Self {
4750
symlinks: true,
51+
stdin: false,
4852
paths: Vec::new(),
4953
lists: Vec::new(),
5054
}
@@ -58,7 +62,10 @@ impl Crawler {
5862
/// # Push List.
5963
///
6064
/// Add a new list path to the queue.
61-
pub(super) fn push_list(&mut self, path: String) { self.lists.push(path); }
65+
pub(super) fn push_list(&mut self, path: String) {
66+
if path == "-" { self.stdin = true; }
67+
else { self.lists.push(path); }
68+
}
6269

6370
/// # Push Path.
6471
///
@@ -80,6 +87,7 @@ impl Crawler {
8087
if ! self.symlinks { raw = raw.without_symlinks(); }
8188

8289
// Add lists?
90+
if self.stdin { raw.push_paths_from_stdin(); }
8391
for s in self.lists {
8492
raw.push_paths_from_file(s).map_err(|_| FlacaError::ListFile)?;
8593
}

0 commit comments

Comments
 (0)