From 31baff5229bc8f5bd835b1b7b649513b437dfe5e Mon Sep 17 00:00:00 2001 From: Shinyzenith Date: Wed, 7 Sep 2022 19:24:25 +0530 Subject: [PATCH] [bump] 1.2.2 Signed-off-by: Shinyzenith --- Cargo.lock | 34 +++++++++++++++------------------- Cargo.toml | 5 ++++- README.md | 2 +- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ed148d8a..4a6f3944 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,12 +8,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "adler32" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" - [[package]] name = "atty" version = "0.2.14" @@ -94,15 +88,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "deflate" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86f7e25f518f4b81808a2cf1c50996a61f5c2eb394b2393bd87f2a4780a432f" -dependencies = [ - "adler32", -] - [[package]] name = "downcast-rs" version = "1.2.0" @@ -129,6 +114,16 @@ dependencies = [ "instant", ] +[[package]] +name = "flate2" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + [[package]] name = "hashbrown" version = "0.12.3" @@ -288,13 +283,13 @@ checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae" [[package]] name = "png" -version = "0.17.5" +version = "0.17.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc38c0ad57efb786dd57b9864e5b18bae478c00c824dc55a38bbc9da95dde3ba" +checksum = "8f0e7f4c94ec26ff209cee506314212639d6c91b80afb82984819fafce9df01c" dependencies = [ "bitflags", "crc32fast", - "deflate", + "flate2", "miniz_oxide", ] @@ -442,10 +437,11 @@ dependencies = [ [[package]] name = "wayshot" -version = "1.2.1" +version = "1.2.2" dependencies = [ "clap", "env_logger", + "flate2", "image", "log", "memmap2", diff --git a/Cargo.toml b/Cargo.toml index e693d34f..7763525d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["screenshot", "wayland", "wlroots"] license = "BSD-2-Clause" name = "wayshot" repository = "https://git.sr.ht/~shinyzenith/wayshot" -version = "1.2.1" +version = "1.2.2" exclude = [ "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", @@ -28,6 +28,9 @@ wayland-client = "0.29.4" wayland-protocols = { version = "0.29.4", features=["unstable_protocols", "client"] } tempfile = "3.3.0" +[build-dependencies] +flate2 = "1.0.24" + [[bin]] name = "wayshot" path = "src/wayshot.rs" diff --git a/README.md b/README.md index 3d67fc29..66edb6a9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

- +