Commit graph

293 commits

Author SHA1 Message Date
dependabot-preview[bot]
c9dd553941 Bump cc from 1.0.52 to 1.0.58
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.52 to 1.0.58.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.52...1.0.58)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 13:23:24 +00:00
dependabot-preview[bot]
a49b06f2f4 Bump num-iter from 0.1.40 to 0.1.41
Bumps [num-iter](https://github.com/rust-num/num-iter) from 0.1.40 to 0.1.41.
- [Release notes](https://github.com/rust-num/num-iter/releases)
- [Changelog](https://github.com/rust-num/num-iter/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-iter/compare/num-iter-0.1.40...num-iter-0.1.41)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 12:57:51 +00:00
dependabot-preview[bot]
6a06117f75 Bump num-integer from 0.1.42 to 0.1.43
Bumps [num-integer](https://github.com/rust-num/num-integer) from 0.1.42 to 0.1.43.
- [Release notes](https://github.com/rust-num/num-integer/releases)
- [Changelog](https://github.com/rust-num/num-integer/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-integer/compare/num-integer-0.1.42...num-integer-0.1.43)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 12:29:05 +00:00
dependabot-preview[bot]
9e84ed336c Bump unicode-width from 0.1.7 to 0.1.8
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases)
- [Commits](https://github.com/unicode-rs/unicode-width/commits/v0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 11:57:00 +00:00
dependabot-preview[bot]
d7dac92d5f Bump adler32 from 1.0.4 to 1.1.0
Bumps [adler32](https://github.com/remram44/adler32-rs) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/remram44/adler32-rs/releases)
- [Commits](https://github.com/remram44/adler32-rs/compare/1.0.4...1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 11:20:59 +00:00
dependabot-preview[bot]
8ca39923dd Bump vec_map from 0.8.1 to 0.8.2
Bumps [vec_map](https://github.com/contain-rs/vec-map) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/contain-rs/vec-map/releases)
- [Changelog](https://github.com/contain-rs/vec-map/blob/master/CHANGELOG.md)
- [Commits](https://github.com/contain-rs/vec-map/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 10:41:39 +00:00
dependabot-preview[bot]
328e82f630 Bump miniz_oxide from 0.3.7 to 0.4.0
Bumps [miniz_oxide](https://github.com/Frommi/miniz_oxide) from 0.3.7 to 0.4.0.
- [Release notes](https://github.com/Frommi/miniz_oxide/releases)
- [Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Frommi/miniz_oxide/compare/0.3.7...0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-09 11:49:39 -04:00
dependabot-preview[bot]
cea75d6aa2 Bump rgb from 0.8.18 to 0.8.20
Bumps [rgb](https://github.com/kornelski/rust-rgb) from 0.8.18 to 0.8.20.
- [Release notes](https://github.com/kornelski/rust-rgb/releases)
- [Commits](https://github.com/kornelski/rust-rgb/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-09 11:04:24 -04:00
dependabot-preview[bot]
db3cd3589b Bump image from 0.23.5 to 0.23.6
Bumps [image](https://github.com/image-rs/image) from 0.23.5 to 0.23.6.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/compare/v0.23.5...v0.23.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 17:33:09 +00:00
dependabot-preview[bot]
506e733049 Bump rayon from 1.3.0 to 1.3.1
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.3.0...v1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 10:45:14 +00:00
dependabot-preview[bot]
d7ca5e9549 Bump image from 0.23.4 to 0.23.5
Bumps [image](https://github.com/image-rs/image) from 0.23.4 to 0.23.5.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/compare/v0.23.4...v0.23.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 07:45:29 -04:00
dependabot-preview[bot]
d70fd3bfcc Bump miniz_oxide from 0.3.6 to 0.3.7
Bumps [miniz_oxide](https://github.com/Frommi/miniz_oxide) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/Frommi/miniz_oxide/releases)
- [Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Frommi/miniz_oxide/compare/0.3.6...0.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 07:44:30 -04:00
dependabot-preview[bot]
528f17eb6a Bump libdeflater from 0.3.0 to 0.5.0
Bumps [libdeflater](https://github.com/adamkewley/libdeflater) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/adamkewley/libdeflater/releases)
- [Commits](https://github.com/adamkewley/libdeflater/compare/0.3.0...0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 10:43:22 -04:00
dependabot-preview[bot]
c444e29cbb Bump libdeflater from 0.2.0 to 0.3.0
Bumps [libdeflater](https://github.com/adamkewley/libdeflater) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/adamkewley/libdeflater/releases)
- [Commits](https://github.com/adamkewley/libdeflater/compare/0.2.0...0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 14:49:00 -04:00
dependabot-preview[bot]
4ad586e427 Bump wild from 2.0.3 to 2.0.4
Bumps [wild](https://gitlab.com/kornelski/wild) from 2.0.3 to 2.0.4.
- [Release notes](https://gitlab.com/kornelski/wild/tags)
- [Commits](https://gitlab.com/kornelski/wild/commits/master)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 10:48:51 +00:00
dependabot-preview[bot]
403c80d7ca Bump rgb from 0.8.17 to 0.8.18
Bumps [rgb](https://github.com/kornelski/rust-rgb) from 0.8.17 to 0.8.18.
- [Release notes](https://github.com/kornelski/rust-rgb/releases)
- [Commits](https://github.com/kornelski/rust-rgb/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 09:46:08 -04:00
dependabot-preview[bot]
50de0a6fa4 Bump indexmap from 1.3.2 to 1.4.0
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Commits](https://github.com/bluss/indexmap/compare/1.3.2...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 14:29:48 +00:00
Josh Holmer
9a3a402be0 Display more useful error if Rust version too old
Closes #232
2020-05-24 20:00:01 -04:00
dependabot-preview[bot]
3038fd8c7d Bump wild from 2.0.2 to 2.0.3
Bumps [wild](https://gitlab.com/kornelski/wild) from 2.0.2 to 2.0.3.
- [Release notes](https://gitlab.com/kornelski/wild/tags)
- [Commits](https://gitlab.com/kornelski/wild/commits/master)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 15:09:45 +00:00
dependabot-preview[bot]
9849adcbd1 Bump clap from 2.33.0 to 2.33.1
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.0 to 2.33.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v2.33.1/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v2.33.0...v2.33.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 12:51:14 +00:00
dependabot-preview[bot]
2f791fe909
Bump bit-vec from 0.6.1 to 0.6.2 (#227)
Bumps [bit-vec](https://github.com/contain-rs/bit-vec) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/contain-rs/bit-vec/releases)
- [Commits](https://github.com/contain-rs/bit-vec/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 11:16:02 -04:00
Josh Holmer
fa11401eb1 Version 3.0.0 2020-05-06 10:11:47 -04:00
dependabot-preview[bot]
b2725d5149 Bump image from 0.23.3 to 0.23.4
Bumps [image](https://github.com/image-rs/image) from 0.23.3 to 0.23.4.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/compare/v0.23.3...v0.23.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 12:22:42 +00:00
dependabot-preview[bot]
ec8ecf5a80 Bump rgb from 0.8.16 to 0.8.17
Bumps [rgb](https://github.com/kornelski/rust-rgb) from 0.8.16 to 0.8.17.
- [Release notes](https://github.com/kornelski/rust-rgb/releases)
- [Commits](https://github.com/kornelski/rust-rgb/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 11:16:34 +00:00
Ingvar Stepanyan
23ae9c302f
Switch to standard logging library (#218)
This allows to configure or compile away logging in the library from a single place in Rust apps.

For the CLI side, the usage and output remained the same, except it's now colour-coded.

Fixes #217.
2020-04-18 18:33:48 -04:00
Ingvar Stepanyan
bb332fa6d7
Don't override global rayon pool (#211)
Rayon uses a singleton global pool.

By default it's set to a regular spawn handler with number of logical CPU cores, but it can be overridden by Rust applications to customize number of threads, spawn handlers, exit handlers and other options.

Such customization should be usually done at the app level, because if a single library initialises the global pool, then Rayon will prevent any further overrides and they will error out. This can cause conflicts between libraries or library and user code and make them impossible to use together.

Hence, I've removed the `threads` option from the `Options` struct and instead moved initialisation to the CLI part of the codebase (main.rs).

Users of the library that didn't depend on custom `threads` number can keep using it as before - they'll still get same number of threads as number of logical CPU cores, while users who need fine-tuning, can do that by customizing rayon pool themselves at the top level of the app.

Note: another alternative to keep the option could've been to use `ThreadPoolBuilder::build` + `ThreadPool::install` to use a local pool just within OxiPNG, but that would ignore any customizations made by users in top-level pool and would prevent usage on targets that require custom spawn handlers like WebAssembly. As such, I've decided to avoid it.

Co-authored-by: Josh Holmer <jholmer.in@gmail.com>
2020-04-17 04:49:40 -04:00
dependabot-preview[bot]
11a7b68c4f Bump num_cpus from 1.12.0 to 1.13.0
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases)
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.12.0...v1.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 10:54:52 +00:00
dependabot-preview[bot]
9098de22c1 Bump image from 0.23.2 to 0.23.3
Bumps [image](https://github.com/image-rs/image) from 0.23.2 to 0.23.3.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/compare/v0.23.2...v0.23.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 09:55:56 +00:00
Josh Holmer
43735086d1 Migrate to Github Actions
Closes #206
2020-04-15 13:26:28 -04:00
Ingvar Stepanyan
878bbedb37
Improve performance consistency (#202)
* Improve performance consistency

Switch from HashMap / HashSet to IndexMap / IndexSet for consistent iteration order of various options and, as a result, more predictable performance.
2020-03-31 21:54:05 -04:00
Ingvar Stepanyan
121558bf5c
Add libdeflater as an option (#203)
libdeflater is a Rust wrapper around
[libdeflate](https://github.com/ebiggers/libdeflate) - an alternative
heavily optimised library for deflate/zlib/gzip compression and
decompression that is intended for situations where upper bounds of the
output are well-known.

In my benchmarks on test files in the repo it has shown to be usually
both slightly faster and providing better compressed output than
cloudflare-zlib, but in some cases showing the opposite, so rather
than swapping defaults, it's currently provided as another option,
similarly to zopfli.

Since it's not strictly better in all cases, I'm not providing median
numbers, but you can check distribution histograms for time and size
differences here (all using `oxipng -o 6 -t 6 -P`):
https://docs.google.com/spreadsheets/d/1WOKgeYZBhLkQvMGAC36snN4azilElzOFhx63RJu0EZY/edit?usp=sharing
2020-03-31 20:24:57 -04:00
dependabot-preview[bot]
d417a712d3 Bump image from 0.23.0 to 0.23.2
Bumps [image](https://github.com/image-rs/image) from 0.23.0 to 0.23.2.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/compare/v0.23.0...v0.23.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 04:40:46 +00:00
dependabot-preview[bot]
6593a5f6fe Bump itertools from 0.8.2 to 0.9.0
Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bluss/rust-itertools/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 04:03:14 +00:00
Josh Holmer
39ff7cfd5c Bump all dependency patch versions 2020-03-02 01:50:10 -05:00
Josh Holmer
b9dc9e72bb Update image crate to 0.23 2020-03-02 01:44:53 -05:00
Josh Holmer
139d29cc9b Version 2.3.0 2019-10-07 23:34:23 -04:00
Kornel
239ca81db7 Update dependencies (#186)
* Update dependencies

* Bump Rust to 1.34
2019-08-04 12:12:08 -04:00
Josh Holmer
9408a50b1b Version 2.2.2 2019-07-03 19:21:21 -04:00
Josh Holmer
b2364d2398 Update dependencies 2019-07-03 19:14:42 -04:00
Josh Holmer
3809421de7 Use image 0.21.2 with bugfixes from crates.io 2019-06-19 15:21:41 -04:00
Josh Holmer
9c6190c1ff Version 2.2.1 2019-03-26 14:19:34 -04:00
Josh Holmer
7bd7c0cfc9 Bump image crate to handle large images
Closes #167 and #168
2019-03-26 14:14:01 -04:00
Josh Holmer
bd6e7dbbb1 Version 2.2.0 2019-02-01 17:30:16 -05:00
Josh Holmer
d86bc80f43 Prepare for next release 2019-02-01 17:27:03 -05:00
Kornel
9af874d21b Make reductions return a new uncompressed image (#158)
* Fix verbose message

* No cloning when restoring original data

* Make reductions return a new uncompressed image

Partially fixes #145

* Async reduction evaluator

* Assert

* Faster bit depth check

* Also try 4-bit depth for small-depth images

* Skip test when using miniz

* Ensure palette is trimmed after depth reduction

Fixes #159

* Fudge factor for reductions to prefer better reductions even if gzip estimation says otherwise
2019-01-27 03:22:49 -05:00
Josh Holmer
d91fc890cd 2.1.8 2018-12-02 00:14:43 -05:00
Josh Holmer
565d08ed72 Version 2.1.7 2018-11-27 22:34:58 -05:00
Kornel
ff7a9547c3 Nicer wrapper for cfzlib (#149) 2018-11-25 03:29:30 -05:00
Kornel
686adcdebd Optimize RGB/A to palette conversion (#148) 2018-11-22 21:52:02 -05:00
Josh Holmer
d82406a959 Version 2.1.6 2018-11-17 18:02:16 -05:00
Joshua Holmer
88035ccbae Version 2.1.5 2018-10-11 08:41:11 -04:00
Josh Holmer
903f962f29 Version 2.1.4 2018-09-28 21:05:58 -04:00
Josh Holmer
a4e0a34357 Bump version to 2.1.3 2018-09-16 23:21:51 -04:00
Josh Holmer
df07d10a5c Version 2.1.2 2018-08-11 23:35:57 -04:00
Josh Holmer
7895e42687 Version 2.1.1 2018-08-11 20:34:04 -04:00
Josh Holmer
4ea310fa68 Version 2.1.0 2018-08-04 23:28:14 -04:00
Josh Holmer
2241fd2c3b Version 2.0.2 2018-07-27 23:07:05 -04:00
Josh Holmer
b948264c32 Version 2.0.1 2018-07-21 00:40:48 -04:00
Josh Holmer
d110949d2a Version 2.0.0 2018-07-20 19:19:20 -04:00
Josh Holmer
2f619f214b Bump patch versions of all dependencies 2018-07-20 18:58:40 -04:00
Josh Holmer
b235e5601f Remove deprecated clippy plugin, use rustup clippy now 2018-07-20 18:50:27 -04:00
Kornel
2d303f5dc2 Avoid double glob processing on unix (#111) 2018-07-06 08:11:42 -04:00
magicgoose
5570a24781 allow listing more than 2 filters (#105)
Closes #101
2018-06-06 21:10:20 -04:00
Kornel
e472c82876 Option to use Cloudflare's zlib for compression (#103)
Behind the nightly feature flag for now--stable ASM is coming in Rust 1.27
2018-06-04 15:39:51 -04:00
Josh Holmer
cff34358d7 Bump dependencies for 1.0.4 2018-05-01 20:52:32 -04:00
Josh Holmer
8a2bdcd133 Version 1.0.3 2018-04-03 19:03:15 -04:00
Josh Holmer
4e6188919f Bump dependencies 2018-04-03 18:56:43 -04:00
Josh Holmer
d7369707ba Fix a change that breaks itertools with newer versions of Rust nightly 2018-03-04 23:47:06 -05:00
Josh Holmer
10123daad2 Version 1.0.1 2018-02-21 18:36:56 -05:00
Josh Stone
6f123c6382 Update to rayon 1.0 2018-02-20 14:14:45 -08:00
Josh Holmer
27e6dfeaab Version 1!
There should not be any more breaking changes for a long time.
2018-01-31 18:57:52 -05:00
Josh Holmer
66c1662537 Remove unused libc dependency 2018-01-30 23:54:30 -05:00
Josh Holmer
fe9cd01b82 Replace miniz_sys with miniz_oxide, a Rust implementation of miniz
This also improves decompression performance by 15%, and obsoletes the
`--zm` parameter.

Closes #57
2018-01-30 23:52:37 -05:00
Josh Holmer
b971b362c2 Bump clippy 2018-01-30 09:38:03 -05:00
Josh Holmer
ece85e6d15 Refactoring of internal code into smaller chunks.
There is still more to be done.
2018-01-30 09:35:03 -05:00
Josh Holmer
8270254823 Version 0.19.0 2018-01-10 20:56:23 -05:00
Josh Holmer
4016202806 Bump clippy again 2018-01-10 09:57:27 -05:00
Josh Holmer
215b3d3d59 Bump dependencies 2018-01-09 23:30:56 -05:00
Josh Holmer
9bb60794da Release version 0.18.3 2017-12-27 17:23:28 -05:00
Josh Holmer
30ecc0cc05 Version 0.18.2 2017-12-23 00:43:23 -05:00
Josh Holmer
833611ba2f Bump image 2017-12-22 23:22:25 -05:00
Josh Holmer
ce5f83ac6c Version 0.18.1 2017-11-21 12:58:43 -05:00
Josh Holmer
c36cc240e2 Upgrade dependencies 2017-11-21 12:37:06 -05:00
Josh Holmer
9c7fdfd9d1 Fix parsing of glob paths on Windows
Closes #90
2017-11-06 19:01:18 -05:00
Josh Holmer
fa334e0750 Update dependencies 2017-11-06 18:50:10 -05:00
Josh Holmer
55a147143b Version 0.17.2 2017-09-30 22:52:18 -04:00
Josh Holmer
de7f93d98b Bump dependencies 2017-09-30 22:46:07 -04:00
Josh Holmer
37deccd8d3 Version 0.17.1 2017-09-12 18:06:26 -04:00
Josh Holmer
c084a94138 Release version 0.17.0 2017-09-11 18:28:51 -04:00
Josh Holmer
6d1005d199 Update dependencies 2017-09-10 23:32:26 -04:00
Josh Holmer
0db03c6faf Fix new clippy lints 2017-09-03 23:36:38 -04:00
Josh Holmer
ca657150ec Update dependencies 2017-07-23 16:42:09 -04:00
Josh Holmer
d0c167347d Version 0.16.3 2017-07-01 10:12:43 -04:00
Josh Holmer
270b3fbe61 Update dependencies in lock file 2017-07-01 10:10:47 -04:00
Josh Holmer
55154564df Version 0.16.2 2017-06-20 07:19:42 -04:00
Josh Holmer
aa240f1f7b Rayon broke stuff in a point release. Seriously... 2017-06-15 08:01:32 -04:00
Josh Holmer
5f4ddbb8f4 Upgrade dependencies 2017-06-14 18:28:07 -04:00
Josh Holmer
2925358856 Release version 0.15.2 2017-05-02 19:32:06 -04:00
Josh Holmer
ed3b843dd2 Update rayon and itertools dependencies 2017-05-02 19:29:20 -04:00
Greg V
8118a29493 Upgrade image to 0.13 2017-05-02 14:18:45 -04:00
Josh Holmer
d665c61645 Version 0.15.1 2017-03-08 10:14:54 -05:00
Josh Holmer
a7c2c9d9df Release version 0.15.0 2017-03-07 11:03:54 -05:00
Josh Holmer
6c8e7d253d Verify images are correct before outputting them, and fix a bug in certain images
Closes #60
2017-03-06 20:16:28 -05:00
Josh Holmer
c79ba3ab8a Version 0.14.4 2017-02-26 22:53:23 -05:00
Josh Holmer
87810829ce Fix issues in transparency palette reduction and release version 0.14.3 2017-02-25 23:33:55 -05:00
Josh Holmer
44818a854b Fix two bugs in reducing palette and release version 0.14.2 2017-02-22 15:45:46 -05:00
Joshua Holmer
8e02aa8294 Remove zlib dependency, which broke with the new version of zlib 2017-02-21 21:45:53 -05:00
Josh Holmer
705d280f8b Fix warning when clippy not enabled 2017-02-19 10:43:46 -05:00
Josh Holmer
ce2d166de2 Allow cyclomatic complexity on parse_opts function, there's no reasonable way to split this up
Closes #26
2017-02-15 13:01:17 -05:00
Josh Holmer
af76f11f36 Bump dependencies 2017-02-13 08:51:00 -05:00
Josh Holmer
fd23d27239 Bump dependencies 2017-01-29 17:41:42 -05:00
Josh Holmer
f5ab197b4f Release 0.14.0 2017-01-20 13:32:31 -05:00
Josh Holmer
1b315b5eb5 Update dependencies 2017-01-10 08:39:33 -05:00
Josh Holmer
b95c562651 Bump version 2017-01-02 13:22:18 -05:00
Josh Holmer
ac1620c072 Update dependencies 2017-01-01 23:42:48 -05:00
Josh Holmer
f4b643d54b Fix clippy lints, now that clippy is working again. Hooray! 2016-12-16 21:24:47 -05:00
Josh Holmer
7261fa3398 Release 0.13.0 2016-12-12 13:54:18 -05:00
Josh Holmer
bfdb36d674 Update dependencies 2016-12-12 13:51:31 -05:00
Josh Holmer
2810316f4e Reduce certain headers when reducing color type
Fixes #52
2016-12-12 09:57:18 -05:00
Joshua Holmer
8286c3ab85 Bump to 0.12.0 2016-12-01 22:51:43 -05:00
Josh Holmer
6d49d7b8f9 Implement zopfli compression, available as a CLI flag (-Z)
Improves compression by about 10% over DEFLATE, but takes a very long
time at the moment, so it is off by default.
2016-12-01 12:51:30 -05:00
Josh Holmer
4977dd0948 Replace current Mutex-based threading with Rayon 2016-09-17 18:16:26 -04:00
Josh Holmer
03c5098730 Version 0.11.0 2016-09-13 07:44:05 -04:00
Josh Holmer
6d24cbfb3c Downgrade clap for compatibility with rustc 1.9 2016-09-12 17:55:41 -04:00
Josh Holmer
f654cbeac4 Various minor changes 2016-09-09 21:55:47 -04:00
Josh Holmer
9d018a3f3b Move clippy to a new "dev" feature 2016-08-19 22:48:23 -04:00
Josh Holmer
d99db3ad23 Convert results to return a PngError
Closes #44
2016-08-16 12:38:09 -04:00
Josh Holmer
3166285150 Allow using optimization presets from crate
Closes #43
2016-08-14 11:31:46 -04:00
Josh Holmer
d095cc1684 Bump minimum rust version to 1.8 2016-08-03 08:40:56 -04:00
Josh Holmer
37c32b80ef Remove quickcheck, as it breaks tests against 1.6.0 2016-08-03 08:15:01 -04:00
Josh Holmer
64edc9110e Start using quickcheck and add inline hints 2016-07-30 23:14:36 -04:00
Josh Holmer
c950a68bfe Update dependencies 2016-07-30 21:50:33 -04:00
Josh Holmer
99da13bd8e Version 0.10.0 [ci skip] 2016-07-26 12:59:28 -04:00
Josh Holmer
29557a18e8 Version 0.9.0 2016-07-14 20:00:59 -04:00
Josh Holmer
7f9ad263ec Refactor code into modules 2016-07-14 11:10:10 -04:00
Josh Holmer
332c27c7d0 Significant refactoring using itertools 2016-07-14 08:10:25 -04:00
Josh Holmer
0f790a1604 Update dependencies 2016-07-13 18:59:20 -04:00
Joshua Holmer
d359fed17a Update dependencies 2016-06-14 11:41:48 -04:00
Joshua Holmer
2659776bd5 Fix issue for interlacing images smaller than 4px
Fixes #42
2016-05-25 23:10:44 -04:00
Joshua Holmer
5031f236c8 Revert image crate to 0.8.0 to fix compatibility with rustc 1.6.0 2016-05-13 20:30:06 -04:00
Joshua Holmer
1d39714b0f Fix several new clippy lints 2016-05-13 10:46:16 -04:00
Joshua Holmer
8358f4f72d Version 0.8.0 [ci skip] 2016-05-06 10:00:02 -04:00
Joshua Holmer
0fa9cefb7d Check-in the Cargo.lock file to ensure build reproducibility 2016-05-05 13:52:25 -04:00