Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jul 27, 2019
1 parent c2783ba commit a0f84f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# libimagequant is a pure C library.
# Rust/Cargo is entirely optional. You can also use ./configure && make
[package]
version = "2.12.5"
authors = ["Kornel Lesiński <[email protected]>"]
build = "rust/build.rs"
categories = ["external-ffi-bindings"]
Expand All @@ -12,14 +13,14 @@ links = "imagequant"
name = "imagequant-sys"
readme = "README.md"
repository = "https://github.com/ImageOptim/libimagequant"
version = "2.12.3"
description = "Statically linked C part of imagequant library powering tools such as pngquant.\n\nThis library is dual-licensed like pngquant: either GPL or a commercial license. See website for details: https://pngquant.org"
edition = "2018"

[build-dependencies]
cc = "1.0.17"
cc = "1.0.38"

[dependencies]
rgb = "0.8.9"
rgb = "0.8.13"

[dependencies.openmp-sys]
optional = true
Expand Down
4 changes: 2 additions & 2 deletions libimagequant.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#define LIQ_EXPORT extern
#endif

#define LIQ_VERSION 21203
#define LIQ_VERSION_STRING "2.12.3"
#define LIQ_VERSION 21205
#define LIQ_VERSION_STRING "2.12.5"

#ifndef LIQ_PRIVATE
#if defined(__GNUC__) || defined (__llvm__)
Expand Down
4 changes: 1 addition & 3 deletions rust/libimagequant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
//!
//! Note that "image" here means raw uncompressed pixels. If you have a compressed image file, such as PNG, you must use another library (e.g. lodepng) to decode it first.

#![allow(non_camel_case_types)]
extern crate rgb;

#[cfg(feature = "openmp")]
extern crate openmp_sys;
Expand Down Expand Up @@ -101,7 +99,7 @@ impl error::Error for liq_error {
}

impl fmt::Display for liq_error {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", self.description())
}
}
Expand Down

0 comments on commit a0f84f1

Please sign in to comment.