From 5810ae4f493f13c22a804158f97eb8e41af4cfdd Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Mon, 5 Sep 2022 13:05:52 -0400 Subject: [PATCH] Version 6.0.0 (#448) --- CHANGELOG.md | 18 ++++++++++++++---- Cargo.lock | 27 ++++++++++++++++++--------- Cargo.toml | 6 +++--- README.md | 2 +- README.template.md | 2 +- 5 files changed, 37 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d1489aa..a4ecd459 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,18 @@ -### Next +### Version 6.0.0 -- [Breaking] Bump minimum Rust version to 1.56.0 -- [Misc] Bump `clap` to 3.0.0 -- [Misc] Bump `zopfli` to 0.5.0 +- [Breaking] Bump minimum Rust version to 1.57.0 +- [Feature] Add `--check`/`-c` CLI option +- [Security] Update stderrlog to 0.5.2 (Fixes RUSTSEC-2022-0006) +- [Security] Remove chrono as a transitive dependency (Fixes ) +- [Misc] Bump `clap` to 3.2 +- [Misc] Bump `zopfli` to 0.7 +- [Misc] Bump `libdeflater` to 0.10 +- [Misc] Remove `byteorder` dependency in favor of stdlib functions +- [Misc] Bump `image` to 0.24 +- [Misc] Bump `crc` to 3.0 +- [Misc] Bump `miniz_oxide` to 0.6 +- [Misc] Update to Rust edition 2021 +- [Misc] Various internal improvements ### Version 5.0.1 diff --git a/Cargo.lock b/Cargo.lock index d957e979..092ff162 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -69,9 +69,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "3.2.17" +version = "3.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29e724a68d9319343bb3328c9cc2dfde263f4b3142ee1059a9980580171c954b" +checksum = "23b71c3ce99b7611011217b366d923f1d0a7e07a92bb2dbf1e84508c673ca3bd" dependencies = [ "atty", "bitflags", @@ -316,9 +316,18 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" +checksum = "96590ba8f175222643a85693f33d26e9c8a015f599c216509b1a6894af675d34" +dependencies = [ + "adler", +] + +[[package]] +name = "miniz_oxide" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" dependencies = [ "adler", ] @@ -365,9 +374,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.13.1" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "074864da206b4973b84eb91683020dbefd6a8c3f0f38e054d93954e891935e4e" +checksum = "2f7254b99e31cad77da24b08ebf628882739a608578bb1bcdfc1f9c21260d7c0" [[package]] name = "os_str_bytes" @@ -377,7 +386,7 @@ checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" [[package]] name = "oxipng" -version = "5.0.1" +version = "6.0.0" dependencies = [ "bit-vec", "clap", @@ -390,7 +399,7 @@ dependencies = [ "itertools", "libdeflater", "log", - "miniz_oxide", + "miniz_oxide 0.6.2", "rayon", "rgb", "rustc_version", @@ -408,7 +417,7 @@ dependencies = [ "bitflags", "crc32fast", "deflate", - "miniz_oxide", + "miniz_oxide 0.5.4", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 7232e6ed..eb169606 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,8 @@ homepage = "https://github.com/shssoichiro/oxipng" license = "MIT" name = "oxipng" repository = "https://github.com/shssoichiro/oxipng" -version = "5.0.1" -rust-version = "1.56.0" +version = "6.0.0" +rust-version = "1.57.0" [badges] travis-ci = { repository = "shssoichiro/oxipng", branch = "master" } @@ -27,7 +27,7 @@ bit-vec = "0.6.3" crc = "3.0.0" itertools = "0.10.3" zopfli = { version = "0.7.0", optional = true } -miniz_oxide = "0.5.3" +miniz_oxide = "0.6.2" rgb = "0.8.33" indexmap = "1.9.1" libdeflater = { version = "0.10.0", optional = true } diff --git a/README.md b/README.md index 7a3d73c2..1da3771b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ cargo build --release cp target/release/oxipng /usr/local/bin ``` -The current minimum supported Rust version is **1.56.0**. +The current minimum supported Rust version is **1.57.0**. Oxipng follows Semantic Versioning. diff --git a/README.template.md b/README.template.md index f9d60259..e18c24c1 100644 --- a/README.template.md +++ b/README.template.md @@ -32,7 +32,7 @@ cargo build --release cp target/release/oxipng /usr/local/bin ``` -The current minimum supported Rust version is **1.56.0**. +The current minimum supported Rust version is **1.57.0**. Oxipng follows Semantic Versioning.