Skip to content

Commit

Permalink
Bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Sep 10, 2023
1 parent bb487d0 commit 3e59c76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imagequant"
version = "4.2.0"
version = "4.2.1"
description = "Convert 24/32-bit images to 8-bit palette with alpha channel.\nFor lossy PNG compression and high-quality GIF images\nDual-licensed like pngquant. See https://pngquant.org for details."
authors = ["Kornel Lesiński <kornel@pngquant.org>"]
license = "GPL-3.0-or-later"
Expand Down
8 changes: 4 additions & 4 deletions imagequant-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imagequant-sys"
version = "4.0.1"
version = "4.0.2"
description = "Convert 24/32-bit images to 8-bit palette with alpha channel.\nC API/FFI libimagequant that powers pngquant lossy PNG compressor.\n\nDual-licensed like pngquant. See https://pngquant.org for details."
authors = ["Kornel Lesiński <kornel@pngquant.org>"]
license = "GPL-3.0-or-later"
Expand All @@ -14,7 +14,7 @@ readme = "README.md"
edition = "2021"
links = "imagequant"
build = "build.rs"
rust-version = "1.60"
rust-version = "1.63"

[lib]
crate-type = ["staticlib", "lib"]
Expand All @@ -23,8 +23,8 @@ path = "src/ffi.rs"
name = "imagequant_sys"

[dependencies]
imagequant = { path = "..", version = "4.0.0", default-features = false, features = ["_internal_c_ffi"] }
bitflags = "1.3.2"
imagequant = { path = "..", version = "4.2.1", default-features = false, features = ["_internal_c_ffi"] }
bitflags = "2.0"
libc = "0.2.112"

[package.metadata.capi.library]
Expand Down
1 change: 1 addition & 0 deletions imagequant-sys/src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ pub type liq_image_get_rgba_row_callback = unsafe extern "C" fn(row_out: *mut Ma

bitflags::bitflags! {
#[repr(C)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone, Copy)]
pub struct liq_ownership: c_int {
/// Moves ownership of the rows array. It will free it using `free()` or custom allocator.
const LIQ_OWN_ROWS = 4;
Expand Down

0 comments on commit 3e59c76

Please sign in to comment.