chore: update bindgen and prepare for release

This commit is contained in:
Nathan Fiedler
2022-12-10 11:39:01 -08:00
parent bc0b4960c6
commit c4ec37d1cc
3 changed files with 6 additions and 4 deletions

View File

@ -5,10 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This file follows the convention described at
[Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## Unreleased
## [0.17.0] - 2022-12-10
### Added
- walterbm: Add support for image deskew.
- Upgrade dependency `bindgen` to 0.63
- DCjanus: Upgrade dependency `bindgen` (0.59 -> 0.60)
- MaksRawski: add `DrawRectangle` and `MagickBrightnessContrastImage` bindings
## [0.16.0] - 2022-04-09
### Added

View File

@ -1,6 +1,6 @@
[package]
name = "magick_rust"
version = "0.16.0"
version = "0.17.0"
authors = ["Nathan Fiedler <nathanfiedler@fastmail.fm>"]
description = "Selection of Rust bindings for the ImageMagick library."
homepage = "https://github.com/nlfiedler/magick-rust"
@ -14,7 +14,7 @@ build = "build.rs"
libc = "0.2"
[build-dependencies]
bindgen = "0.60"
bindgen = "0.63"
pkg-config = "0.3"
[features]

View File

@ -64,7 +64,7 @@ error: aborting due to previous error
See [issue 40](https://github.com/nlfiedler/magick-rust/issues/40) on GitHub for some background. The issue seems to be that with HDRI disabled, rust-bindgen will not produce the bindings needed for the "quantum range" feature of ImageMagick (see [issue 316](https://github.com/rust-lang/rust-bindgen/issues/316)). To work-around this issue, you can disable HDRI support in your `Cargo.toml` file, like so:
```
magick_rust = { version = "0.16.0", features = ["disable-hdri"] }
magick_rust = { version = "0.17.0", features = ["disable-hdri"] }
```
## Example Usage