Replace optipng by oxipng

This commit is contained in:
Hugo Posnic 2023-04-04 12:44:36 +02:00
parent 9b22d56b44
commit bbd7a341a3
6 changed files with 1043 additions and 34 deletions

View File

@ -67,7 +67,7 @@ Curtail uses a number of open source projects to work properly:
- [GTK 4](https://www.gtk.org)
- [Libadwaita](https://gitlab.gnome.org/GNOME/libadwaita)
- [Python 3](https://www.python.org)
- [OptiPNG](http://optipng.sourceforge.net)
- [Oxipng](https://github.com/shssoichiro/oxipng)
- [pngquant](https://pngquant.org)
- [Jpegoptim](https://github.com/tjko/jpegoptim)
- [libwebp](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html)

View File

@ -3,6 +3,9 @@
"runtime": "org.gnome.Platform",
"runtime-version": "44",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command": "curtail",
"finish-args": [
"--share=ipc",
@ -13,28 +16,39 @@
],
"modules": [
{
"name":"jpegoptim",
"sources":[{
"type": "archive",
"url": "https://github.com/tjko/jpegoptim/archive/refs/tags/v1.5.3.tar.gz",
"sha256": "2600d1c84cee714b69d88944c0b90f93ef3eac7010c96dadabf32ea90d67e33e"
}]
},
{
"name": "optipng",
"build-options": {
"config-opts": [
"--with-system-libs"
]
},
"name": "jpegoptim",
"sources": [
{
"type": "archive",
"url": "https://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.7/optipng-0.7.7.tar.gz",
"sha256": "4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452"
"url": "https://github.com/tjko/jpegoptim/archive/refs/tags/v1.5.3.tar.gz",
"sha256": "2600d1c84cee714b69d88944c0b90f93ef3eac7010c96dadabf32ea90d67e33e"
}
]
},
{
"name": "oxipng",
"buildsystem": "simple",
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"install -Dm 755 target/release/oxipng -t /app/bin"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin",
"env": {
"CARGO_HOME": "/run/build/oxipng/cargo"
}
},
"cleanup": [ "*" ],
"sources": [
{
"type": "archive",
"url": "https://github.com/shssoichiro/oxipng/archive/refs/tags/v8.0.0.tar.gz",
"sha256": "ef96d6340e70900de0a38ace8f5f20878f6c256b18b0c59cd87f2b515437b87b"
},
"oxipng-sources.json"
]
},
{
"name": "pngquant",
"sources": [
@ -67,4 +81,4 @@
]
}
]
}
}

View File

@ -108,7 +108,7 @@
<property name="adjustment">
<object class="GtkAdjustment" id="png_lossless_adj">
<property name="lower">0</property>
<property name="upper">2</property>
<property name="upper">6</property>
<property name="step-increment">1</property>
<property name="page-increment">10</property>
</object>

996
oxipng-sources.json Normal file
View File

@ -0,0 +1,996 @@
[
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/adler/adler-1.0.2.crate",
"sha256": "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe",
"dest": "cargo/vendor/adler-1.0.2"
},
{
"type": "inline",
"contents": "{\"package\": \"f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe\", \"files\": {}}",
"dest": "cargo/vendor/adler-1.0.2",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/adler32/adler32-1.2.0.crate",
"sha256": "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234",
"dest": "cargo/vendor/adler32-1.2.0"
},
{
"type": "inline",
"contents": "{\"package\": \"aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234\", \"files\": {}}",
"dest": "cargo/vendor/adler32-1.2.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/atty/atty-0.2.14.crate",
"sha256": "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8",
"dest": "cargo/vendor/atty-0.2.14"
},
{
"type": "inline",
"contents": "{\"package\": \"d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8\", \"files\": {}}",
"dest": "cargo/vendor/atty-0.2.14",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate",
"sha256": "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa",
"dest": "cargo/vendor/autocfg-1.1.0"
},
{
"type": "inline",
"contents": "{\"package\": \"d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa\", \"files\": {}}",
"dest": "cargo/vendor/autocfg-1.1.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate",
"sha256": "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
"dest": "cargo/vendor/bitflags-1.3.2"
},
{
"type": "inline",
"contents": "{\"package\": \"bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a\", \"files\": {}}",
"dest": "cargo/vendor/bitflags-1.3.2",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/bitvec/bitvec-1.0.1.crate",
"sha256": "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c",
"dest": "cargo/vendor/bitvec-1.0.1"
},
{
"type": "inline",
"contents": "{\"package\": \"1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c\", \"files\": {}}",
"dest": "cargo/vendor/bitvec-1.0.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/bytemuck/bytemuck-1.12.3.crate",
"sha256": "aaa3a8d9a1ca92e282c96a32d6511b695d7d994d1d102ba85d279f9b2756947f",
"dest": "cargo/vendor/bytemuck-1.12.3"
},
{
"type": "inline",
"contents": "{\"package\": \"aaa3a8d9a1ca92e282c96a32d6511b695d7d994d1d102ba85d279f9b2756947f\", \"files\": {}}",
"dest": "cargo/vendor/bytemuck-1.12.3",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/byteorder/byteorder-1.4.3.crate",
"sha256": "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610",
"dest": "cargo/vendor/byteorder-1.4.3"
},
{
"type": "inline",
"contents": "{\"package\": \"14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610\", \"files\": {}}",
"dest": "cargo/vendor/byteorder-1.4.3",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/cc/cc-1.0.78.crate",
"sha256": "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d",
"dest": "cargo/vendor/cc-1.0.78"
},
{
"type": "inline",
"contents": "{\"package\": \"a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d\", \"files\": {}}",
"dest": "cargo/vendor/cc-1.0.78",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate",
"sha256": "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
"dest": "cargo/vendor/cfg-if-1.0.0"
},
{
"type": "inline",
"contents": "{\"package\": \"baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd\", \"files\": {}}",
"dest": "cargo/vendor/cfg-if-1.0.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/clap/clap-3.2.23.crate",
"sha256": "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5",
"dest": "cargo/vendor/clap-3.2.23"
},
{
"type": "inline",
"contents": "{\"package\": \"71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5\", \"files\": {}}",
"dest": "cargo/vendor/clap-3.2.23",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/clap_lex/clap_lex-0.2.4.crate",
"sha256": "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5",
"dest": "cargo/vendor/clap_lex-0.2.4"
},
{
"type": "inline",
"contents": "{\"package\": \"2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5\", \"files\": {}}",
"dest": "cargo/vendor/clap_lex-0.2.4",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/color_quant/color_quant-1.1.0.crate",
"sha256": "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b",
"dest": "cargo/vendor/color_quant-1.1.0"
},
{
"type": "inline",
"contents": "{\"package\": \"3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b\", \"files\": {}}",
"dest": "cargo/vendor/color_quant-1.1.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/crc/crc-3.0.0.crate",
"sha256": "53757d12b596c16c78b83458d732a5d1a17ab3f53f2f7412f6fb57cc8a140ab3",
"dest": "cargo/vendor/crc-3.0.0"
},
{
"type": "inline",
"contents": "{\"package\": \"53757d12b596c16c78b83458d732a5d1a17ab3f53f2f7412f6fb57cc8a140ab3\", \"files\": {}}",
"dest": "cargo/vendor/crc-3.0.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/crc-catalog/crc-catalog-2.1.0.crate",
"sha256": "2d0165d2900ae6778e36e80bbc4da3b5eefccee9ba939761f9c2882a5d9af3ff",
"dest": "cargo/vendor/crc-catalog-2.1.0"
},
{
"type": "inline",
"contents": "{\"package\": \"2d0165d2900ae6778e36e80bbc4da3b5eefccee9ba939761f9c2882a5d9af3ff\", \"files\": {}}",
"dest": "cargo/vendor/crc-catalog-2.1.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/crc32fast/crc32fast-1.3.2.crate",
"sha256": "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d",
"dest": "cargo/vendor/crc32fast-1.3.2"
},
{
"type": "inline",
"contents": "{\"package\": \"b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d\", \"files\": {}}",
"dest": "cargo/vendor/crc32fast-1.3.2",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/crossbeam-channel/crossbeam-channel-0.5.6.crate",
"sha256": "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521",
"dest": "cargo/vendor/crossbeam-channel-0.5.6"
},
{
"type": "inline",
"contents": "{\"package\": \"c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521\", \"files\": {}}",
"dest": "cargo/vendor/crossbeam-channel-0.5.6",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/crossbeam-deque/crossbeam-deque-0.8.2.crate",
"sha256": "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc",
"dest": "cargo/vendor/crossbeam-deque-0.8.2"
},
{
"type": "inline",
"contents": "{\"package\": \"715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc\", \"files\": {}}",
"dest": "cargo/vendor/crossbeam-deque-0.8.2",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/crossbeam-epoch/crossbeam-epoch-0.9.13.crate",
"sha256": "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a",
"dest": "cargo/vendor/crossbeam-epoch-0.9.13"
},
{
"type": "inline",
"contents": "{\"package\": \"01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a\", \"files\": {}}",
"dest": "cargo/vendor/crossbeam-epoch-0.9.13",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.14.crate",
"sha256": "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f",
"dest": "cargo/vendor/crossbeam-utils-0.8.14"
},
{
"type": "inline",
"contents": "{\"package\": \"4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f\", \"files\": {}}",
"dest": "cargo/vendor/crossbeam-utils-0.8.14",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/either/either-1.8.0.crate",
"sha256": "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797",
"dest": "cargo/vendor/either-1.8.0"
},
{
"type": "inline",
"contents": "{\"package\": \"90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797\", \"files\": {}}",
"dest": "cargo/vendor/either-1.8.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/filetime/filetime-0.2.19.crate",
"sha256": "4e884668cd0c7480504233e951174ddc3b382f7c2666e3b7310b5c4e7b0c37f9",
"dest": "cargo/vendor/filetime-0.2.19"
},
{
"type": "inline",
"contents": "{\"package\": \"4e884668cd0c7480504233e951174ddc3b382f7c2666e3b7310b5c4e7b0c37f9\", \"files\": {}}",
"dest": "cargo/vendor/filetime-0.2.19",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/flate2/flate2-1.0.25.crate",
"sha256": "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841",
"dest": "cargo/vendor/flate2-1.0.25"
},
{
"type": "inline",
"contents": "{\"package\": \"a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841\", \"files\": {}}",
"dest": "cargo/vendor/flate2-1.0.25",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/funty/funty-2.0.0.crate",
"sha256": "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c",
"dest": "cargo/vendor/funty-2.0.0"
},
{
"type": "inline",
"contents": "{\"package\": \"e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c\", \"files\": {}}",
"dest": "cargo/vendor/funty-2.0.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/glob/glob-0.3.0.crate",
"sha256": "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574",
"dest": "cargo/vendor/glob-0.3.0"
},
{
"type": "inline",
"contents": "{\"package\": \"9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574\", \"files\": {}}",
"dest": "cargo/vendor/glob-0.3.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/hashbrown/hashbrown-0.12.3.crate",
"sha256": "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888",
"dest": "cargo/vendor/hashbrown-0.12.3"
},
{
"type": "inline",
"contents": "{\"package\": \"8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888\", \"files\": {}}",
"dest": "cargo/vendor/hashbrown-0.12.3",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.19.crate",
"sha256": "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33",
"dest": "cargo/vendor/hermit-abi-0.1.19"
},
{
"type": "inline",
"contents": "{\"package\": \"62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33\", \"files\": {}}",
"dest": "cargo/vendor/hermit-abi-0.1.19",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/hermit-abi/hermit-abi-0.2.6.crate",
"sha256": "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7",
"dest": "cargo/vendor/hermit-abi-0.2.6"
},
{
"type": "inline",
"contents": "{\"package\": \"ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7\", \"files\": {}}",
"dest": "cargo/vendor/hermit-abi-0.2.6",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/image/image-0.24.5.crate",
"sha256": "69b7ea949b537b0fd0af141fff8c77690f2ce96f4f41f042ccb6c69c6c965945",
"dest": "cargo/vendor/image-0.24.5"
},
{
"type": "inline",
"contents": "{\"package\": \"69b7ea949b537b0fd0af141fff8c77690f2ce96f4f41f042ccb6c69c6c965945\", \"files\": {}}",
"dest": "cargo/vendor/image-0.24.5",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/indexmap/indexmap-1.9.2.crate",
"sha256": "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399",
"dest": "cargo/vendor/indexmap-1.9.2"
},
{
"type": "inline",
"contents": "{\"package\": \"1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399\", \"files\": {}}",
"dest": "cargo/vendor/indexmap-1.9.2",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/iter-read/iter-read-0.3.1.crate",
"sha256": "c397ca3ea05ad509c4ec451fea28b4771236a376ca1c69fd5143aae0cf8f93c4",
"dest": "cargo/vendor/iter-read-0.3.1"
},
{
"type": "inline",
"contents": "{\"package\": \"c397ca3ea05ad509c4ec451fea28b4771236a376ca1c69fd5143aae0cf8f93c4\", \"files\": {}}",
"dest": "cargo/vendor/iter-read-0.3.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/itertools/itertools-0.10.5.crate",
"sha256": "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473",
"dest": "cargo/vendor/itertools-0.10.5"
},
{
"type": "inline",
"contents": "{\"package\": \"b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473\", \"files\": {}}",
"dest": "cargo/vendor/itertools-0.10.5",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/libc/libc-0.2.139.crate",
"sha256": "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79",
"dest": "cargo/vendor/libc-0.2.139"
},
{
"type": "inline",
"contents": "{\"package\": \"201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79\", \"files\": {}}",
"dest": "cargo/vendor/libc-0.2.139",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/libdeflate-sys/libdeflate-sys-0.11.0.crate",
"sha256": "cb6784b6b84b67d71b4307963d456a9c7c29f9b47c658f533e598de369e34277",
"dest": "cargo/vendor/libdeflate-sys-0.11.0"
},
{
"type": "inline",
"contents": "{\"package\": \"cb6784b6b84b67d71b4307963d456a9c7c29f9b47c658f533e598de369e34277\", \"files\": {}}",
"dest": "cargo/vendor/libdeflate-sys-0.11.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/libdeflater/libdeflater-0.11.0.crate",
"sha256": "d8e285aa6a046fd338b2592c16bee148b2b00789138ed6b7bb56bb13d585050d",
"dest": "cargo/vendor/libdeflater-0.11.0"
},
{
"type": "inline",
"contents": "{\"package\": \"d8e285aa6a046fd338b2592c16bee148b2b00789138ed6b7bb56bb13d585050d\", \"files\": {}}",
"dest": "cargo/vendor/libdeflater-0.11.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/log/log-0.4.17.crate",
"sha256": "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e",
"dest": "cargo/vendor/log-0.4.17"
},
{
"type": "inline",
"contents": "{\"package\": \"abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e\", \"files\": {}}",
"dest": "cargo/vendor/log-0.4.17",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/memoffset/memoffset-0.7.1.crate",
"sha256": "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4",
"dest": "cargo/vendor/memoffset-0.7.1"
},
{
"type": "inline",
"contents": "{\"package\": \"5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4\", \"files\": {}}",
"dest": "cargo/vendor/memoffset-0.7.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/miniz_oxide/miniz_oxide-0.6.2.crate",
"sha256": "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa",
"dest": "cargo/vendor/miniz_oxide-0.6.2"
},
{
"type": "inline",
"contents": "{\"package\": \"b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa\", \"files\": {}}",
"dest": "cargo/vendor/miniz_oxide-0.6.2",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/num-integer/num-integer-0.1.45.crate",
"sha256": "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9",
"dest": "cargo/vendor/num-integer-0.1.45"
},
{
"type": "inline",
"contents": "{\"package\": \"225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9\", \"files\": {}}",
"dest": "cargo/vendor/num-integer-0.1.45",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/num-rational/num-rational-0.4.1.crate",
"sha256": "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0",
"dest": "cargo/vendor/num-rational-0.4.1"
},
{
"type": "inline",
"contents": "{\"package\": \"0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0\", \"files\": {}}",
"dest": "cargo/vendor/num-rational-0.4.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/num-traits/num-traits-0.2.15.crate",
"sha256": "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd",
"dest": "cargo/vendor/num-traits-0.2.15"
},
{
"type": "inline",
"contents": "{\"package\": \"578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd\", \"files\": {}}",
"dest": "cargo/vendor/num-traits-0.2.15",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/num_cpus/num_cpus-1.15.0.crate",
"sha256": "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b",
"dest": "cargo/vendor/num_cpus-1.15.0"
},
{
"type": "inline",
"contents": "{\"package\": \"0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b\", \"files\": {}}",
"dest": "cargo/vendor/num_cpus-1.15.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/once_cell/once_cell-1.16.0.crate",
"sha256": "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860",
"dest": "cargo/vendor/once_cell-1.16.0"
},
{
"type": "inline",
"contents": "{\"package\": \"86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860\", \"files\": {}}",
"dest": "cargo/vendor/once_cell-1.16.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/os_str_bytes/os_str_bytes-6.4.1.crate",
"sha256": "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee",
"dest": "cargo/vendor/os_str_bytes-6.4.1"
},
{
"type": "inline",
"contents": "{\"package\": \"9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee\", \"files\": {}}",
"dest": "cargo/vendor/os_str_bytes-6.4.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/png/png-0.17.7.crate",
"sha256": "5d708eaf860a19b19ce538740d2b4bdeeb8337fa53f7738455e706623ad5c638",
"dest": "cargo/vendor/png-0.17.7"
},
{
"type": "inline",
"contents": "{\"package\": \"5d708eaf860a19b19ce538740d2b4bdeeb8337fa53f7738455e706623ad5c638\", \"files\": {}}",
"dest": "cargo/vendor/png-0.17.7",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/radium/radium-0.7.0.crate",
"sha256": "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09",
"dest": "cargo/vendor/radium-0.7.0"
},
{
"type": "inline",
"contents": "{\"package\": \"dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09\", \"files\": {}}",
"dest": "cargo/vendor/radium-0.7.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/rayon/rayon-1.6.1.crate",
"sha256": "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7",
"dest": "cargo/vendor/rayon-1.6.1"
},
{
"type": "inline",
"contents": "{\"package\": \"6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7\", \"files\": {}}",
"dest": "cargo/vendor/rayon-1.6.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/rayon-core/rayon-core-1.10.1.crate",
"sha256": "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3",
"dest": "cargo/vendor/rayon-core-1.10.1"
},
{
"type": "inline",
"contents": "{\"package\": \"cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3\", \"files\": {}}",
"dest": "cargo/vendor/rayon-core-1.10.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.16.crate",
"sha256": "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a",
"dest": "cargo/vendor/redox_syscall-0.2.16"
},
{
"type": "inline",
"contents": "{\"package\": \"fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a\", \"files\": {}}",
"dest": "cargo/vendor/redox_syscall-0.2.16",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/rgb/rgb-0.8.34.crate",
"sha256": "3603b7d71ca82644f79b5a06d1220e9a58ede60bd32255f698cb1af8838b8db3",
"dest": "cargo/vendor/rgb-0.8.34"
},
{
"type": "inline",
"contents": "{\"package\": \"3603b7d71ca82644f79b5a06d1220e9a58ede60bd32255f698cb1af8838b8db3\", \"files\": {}}",
"dest": "cargo/vendor/rgb-0.8.34",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/rustc-hash/rustc-hash-1.1.0.crate",
"sha256": "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2",
"dest": "cargo/vendor/rustc-hash-1.1.0"
},
{
"type": "inline",
"contents": "{\"package\": \"08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2\", \"files\": {}}",
"dest": "cargo/vendor/rustc-hash-1.1.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/rustc_version/rustc_version-0.4.0.crate",
"sha256": "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366",
"dest": "cargo/vendor/rustc_version-0.4.0"
},
{
"type": "inline",
"contents": "{\"package\": \"bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366\", \"files\": {}}",
"dest": "cargo/vendor/rustc_version-0.4.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/scopeguard/scopeguard-1.1.0.crate",
"sha256": "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd",
"dest": "cargo/vendor/scopeguard-1.1.0"
},
{
"type": "inline",
"contents": "{\"package\": \"d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd\", \"files\": {}}",
"dest": "cargo/vendor/scopeguard-1.1.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/semver/semver-1.0.16.crate",
"sha256": "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a",
"dest": "cargo/vendor/semver-1.0.16"
},
{
"type": "inline",
"contents": "{\"package\": \"58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a\", \"files\": {}}",
"dest": "cargo/vendor/semver-1.0.16",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/stderrlog/stderrlog-0.5.4.crate",
"sha256": "69a26bbf6de627d389164afa9783739b56746c6c72c4ed16539f4ff54170327b",
"dest": "cargo/vendor/stderrlog-0.5.4"
},
{
"type": "inline",
"contents": "{\"package\": \"69a26bbf6de627d389164afa9783739b56746c6c72c4ed16539f4ff54170327b\", \"files\": {}}",
"dest": "cargo/vendor/stderrlog-0.5.4",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/strsim/strsim-0.10.0.crate",
"sha256": "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623",
"dest": "cargo/vendor/strsim-0.10.0"
},
{
"type": "inline",
"contents": "{\"package\": \"73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623\", \"files\": {}}",
"dest": "cargo/vendor/strsim-0.10.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/tap/tap-1.0.1.crate",
"sha256": "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369",
"dest": "cargo/vendor/tap-1.0.1"
},
{
"type": "inline",
"contents": "{\"package\": \"55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369\", \"files\": {}}",
"dest": "cargo/vendor/tap-1.0.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/termcolor/termcolor-1.1.3.crate",
"sha256": "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755",
"dest": "cargo/vendor/termcolor-1.1.3"
},
{
"type": "inline",
"contents": "{\"package\": \"bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755\", \"files\": {}}",
"dest": "cargo/vendor/termcolor-1.1.3",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/textwrap/textwrap-0.16.0.crate",
"sha256": "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d",
"dest": "cargo/vendor/textwrap-0.16.0"
},
{
"type": "inline",
"contents": "{\"package\": \"222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d\", \"files\": {}}",
"dest": "cargo/vendor/textwrap-0.16.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/thread_local/thread_local-1.1.4.crate",
"sha256": "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180",
"dest": "cargo/vendor/thread_local-1.1.4"
},
{
"type": "inline",
"contents": "{\"package\": \"5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180\", \"files\": {}}",
"dest": "cargo/vendor/thread_local-1.1.4",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/typed-arena/typed-arena-2.0.1.crate",
"sha256": "0685c84d5d54d1c26f7d3eb96cd41550adb97baed141a761cf335d3d33bcd0ae",
"dest": "cargo/vendor/typed-arena-2.0.1"
},
{
"type": "inline",
"contents": "{\"package\": \"0685c84d5d54d1c26f7d3eb96cd41550adb97baed141a761cf335d3d33bcd0ae\", \"files\": {}}",
"dest": "cargo/vendor/typed-arena-2.0.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/wild/wild-2.1.0.crate",
"sha256": "05b116685a6be0c52f5a103334cbff26db643826c7b3735fc0a3ba9871310a74",
"dest": "cargo/vendor/wild-2.1.0"
},
{
"type": "inline",
"contents": "{\"package\": \"05b116685a6be0c52f5a103334cbff26db643826c7b3735fc0a3ba9871310a74\", \"files\": {}}",
"dest": "cargo/vendor/wild-2.1.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/winapi/winapi-0.3.9.crate",
"sha256": "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
"dest": "cargo/vendor/winapi-0.3.9"
},
{
"type": "inline",
"contents": "{\"package\": \"5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419\", \"files\": {}}",
"dest": "cargo/vendor/winapi-0.3.9",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate",
"sha256": "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
"dest": "cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0"
},
{
"type": "inline",
"contents": "{\"package\": \"ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6\", \"files\": {}}",
"dest": "cargo/vendor/winapi-i686-pc-windows-gnu-0.4.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/winapi-util/winapi-util-0.1.5.crate",
"sha256": "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178",
"dest": "cargo/vendor/winapi-util-0.1.5"
},
{
"type": "inline",
"contents": "{\"package\": \"70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178\", \"files\": {}}",
"dest": "cargo/vendor/winapi-util-0.1.5",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate",
"sha256": "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
"dest": "cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0"
},
{
"type": "inline",
"contents": "{\"package\": \"712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f\", \"files\": {}}",
"dest": "cargo/vendor/winapi-x86_64-pc-windows-gnu-0.4.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/windows-sys/windows-sys-0.42.0.crate",
"sha256": "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7",
"dest": "cargo/vendor/windows-sys-0.42.0"
},
{
"type": "inline",
"contents": "{\"package\": \"5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7\", \"files\": {}}",
"dest": "cargo/vendor/windows-sys-0.42.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.42.0.crate",
"sha256": "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e",
"dest": "cargo/vendor/windows_aarch64_gnullvm-0.42.0"
},
{
"type": "inline",
"contents": "{\"package\": \"41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e\", \"files\": {}}",
"dest": "cargo/vendor/windows_aarch64_gnullvm-0.42.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.42.0.crate",
"sha256": "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4",
"dest": "cargo/vendor/windows_aarch64_msvc-0.42.0"
},
{
"type": "inline",
"contents": "{\"package\": \"dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4\", \"files\": {}}",
"dest": "cargo/vendor/windows_aarch64_msvc-0.42.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.42.0.crate",
"sha256": "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7",
"dest": "cargo/vendor/windows_i686_gnu-0.42.0"
},
{
"type": "inline",
"contents": "{\"package\": \"fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7\", \"files\": {}}",
"dest": "cargo/vendor/windows_i686_gnu-0.42.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.42.0.crate",
"sha256": "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246",
"dest": "cargo/vendor/windows_i686_msvc-0.42.0"
},
{
"type": "inline",
"contents": "{\"package\": \"84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246\", \"files\": {}}",
"dest": "cargo/vendor/windows_i686_msvc-0.42.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.42.0.crate",
"sha256": "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed",
"dest": "cargo/vendor/windows_x86_64_gnu-0.42.0"
},
{
"type": "inline",
"contents": "{\"package\": \"bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed\", \"files\": {}}",
"dest": "cargo/vendor/windows_x86_64_gnu-0.42.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.42.0.crate",
"sha256": "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028",
"dest": "cargo/vendor/windows_x86_64_gnullvm-0.42.0"
},
{
"type": "inline",
"contents": "{\"package\": \"09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028\", \"files\": {}}",
"dest": "cargo/vendor/windows_x86_64_gnullvm-0.42.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.42.0.crate",
"sha256": "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5",
"dest": "cargo/vendor/windows_x86_64_msvc-0.42.0"
},
{
"type": "inline",
"contents": "{\"package\": \"f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5\", \"files\": {}}",
"dest": "cargo/vendor/windows_x86_64_msvc-0.42.0",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/wyz/wyz-0.5.1.crate",
"sha256": "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed",
"dest": "cargo/vendor/wyz-0.5.1"
},
{
"type": "inline",
"contents": "{\"package\": \"05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed\", \"files\": {}}",
"dest": "cargo/vendor/wyz-0.5.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "archive",
"archive-type": "tar-gzip",
"url": "https://static.crates.io/crates/zopfli/zopfli-0.7.1.crate",
"sha256": "f1e0d16c30236860686a8f03d36b384dc2fc0675a8916367d2f9a1ecd795eab6",
"dest": "cargo/vendor/zopfli-0.7.1"
},
{
"type": "inline",
"contents": "{\"package\": \"f1e0d16c30236860686a8f03d36b384dc2fc0675a8916367d2f9a1ecd795eab6\", \"files\": {}}",
"dest": "cargo/vendor/zopfli-0.7.1",
"dest-filename": ".cargo-checksum.json"
},
{
"type": "inline",
"contents": "[source.vendored-sources]\ndirectory = \"cargo/vendor\"\n\n[source.crates-io]\nreplace-with = \"vendored-sources\"\n",
"dest": "cargo",
"dest-filename": "config"
}
]

View File

@ -101,23 +101,23 @@ class Compressor():
def build_png_command(self, result_item):
pngquant = 'pngquant --quality=0-{} -f "{}" --output "{}"'
optipng = 'optipng -clobber -o{} "{}" -out "{}"'
oxipng = 'oxipng -o {} -i 1 "{}" --out "{}"'
if not self.metadata:
pngquant += ' --strip'
optipng += ' -strip all'
oxipng += ' --strip safe'
if self.file_attributes:
optipng += ' -preserve'
oxipng += ' --preserve'
if self.lossy: # lossy compression
command = pngquant.format(self.png_lossy_level, result_item.filename,
result_item.new_filename)
command += ' && '
command += optipng.format(self.png_lossless_level, result_item.new_filename,
command += oxipng.format(self.png_lossless_level, result_item.new_filename,
result_item.new_filename)
else: # lossless compression
command = optipng.format(self.png_lossless_level, result_item.filename,
command = oxipng.format(self.png_lossless_level, result_item.filename,
result_item.new_filename)
return command

View File

@ -107,29 +107,28 @@ def debug_infos():
# Jpegoptim
try:
jpegoptim = subprocess.check_output("jpegoptim --version", shell=True)
jpegoptim = subprocess.check_output(['jpegoptim', '--version'])
jpegoptim = extract_version(jpegoptim.decode('utf-8'))
except Exception as err:
jpegoptim = _('Version not found')
# OptiPNG
# Oxipng
try:
optipng = subprocess.check_output("optipng -version", shell=True)
optipng = extract_version(optipng.decode('utf-8'))
oxipng = subprocess.check_output(['oxipng', '--version'])
oxipng = extract_version(oxipng.decode('utf-8'))
except Exception as err:
pass
optipng = _('Version not found')
oxipng = _('Version not found')
# pngquant
try:
pngquant = subprocess.check_output("pngquant --version", shell=True)
pngquant = subprocess.check_output(['pngquant', '--version'])
pngquant = extract_version(pngquant.decode('utf-8'))
except Exception as err:
pngquant = _('Version not found')
# Libwebp
try:
libwebp = subprocess.check_output("cwebp -version", shell=True)
libwebp = subprocess.check_output(['cwebp', '-version'])
libwebp = extract_version(libwebp.decode('utf-8'))
except Exception as err:
libwebp = _('Version not found')
@ -137,13 +136,13 @@ def debug_infos():
debug = '''Python: {}\n
Gtk: {}\n
Jpegoptim: {}\n
OptiPNG: {}\n
Oxipng: {}\n
pngquant: {}\n
Libwebp: {}\n'''.format(
python_version,
gtk_version,
jpegoptim,
optipng,
oxipng,
pngquant,
libwebp
)