Prepare for the 0.16.0 release

cargo test passes
This commit is contained in:
Nathan Fiedler
2022-04-09 09:47:25 -07:00
parent b19f1498ce
commit faaf9acdbf
3 changed files with 14 additions and 9 deletions

View File

@ -5,11 +5,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This file follows the convention described at This file follows the convention described at
[Keep a Changelog](http://keepachangelog.com/en/1.0.0/). [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [0.16.0] - 2022-04-09
### Added ### Added
- walterbm: Add support for thumbnail image resizing. - walterbm: Add support for thumbnail image resizing.
- DCjanus: add methods `get_image_alpha_channel`, `draw_image`, `set_image_channel_mask`,
`evaluate_image`, `border_image`, `shadow_image`, `import_image_pixels`, `set_first_iterator`,
`next_image`
- DCjanus: feat: std error compatible error
- davidwilemski: add binding for `MagickStripImage()`
## [0.15.0] - 2021-8-10 ## [0.15.0] - 2021-08-10
### Added ### Added
- glebpom: Support resource limits - glebpom: Support resource limits
- lerouxrgd: Add kmeans - lerouxrgd: Add kmeans
@ -23,7 +28,7 @@ This file follows the convention described at
- asonix: Set environment variable with magickcore config flags - asonix: Set environment variable with magickcore config flags
- captainbland: Add workaround for QuantumRange not defined error when hdri is disabled - captainbland: Add workaround for QuantumRange not defined error when hdri is disabled
## [0.14.0] - 2020-5-21 ## [0.14.0] - 2020-05-21
### Added ### Added
- npajkovsky: add `negate_image()` operation - npajkovsky: add `negate_image()` operation
- danielronnkvist: add `MagickFxImage` binding - danielronnkvist: add `MagickFxImage` binding

View File

@ -1,6 +1,6 @@
[package] [package]
name = "magick_rust" name = "magick_rust"
version = "0.15.0" version = "0.16.0"
authors = ["Nathan Fiedler <nathanfiedler@fastmail.fm>"] authors = ["Nathan Fiedler <nathanfiedler@fastmail.fm>"]
description = "Selection of Rust bindings for the ImageMagick library." description = "Selection of Rust bindings for the ImageMagick library."
homepage = "https://github.com/nlfiedler/magick-rust" homepage = "https://github.com/nlfiedler/magick-rust"
@ -11,7 +11,7 @@ keywords = ["magickwand", "imagemagick"]
build = "build.rs" build = "build.rs"
[dependencies] [dependencies]
libc = "0.2.70" libc = "0.2"
[build-dependencies] [build-dependencies]
bindgen = "0.59" bindgen = "0.59"

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: 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.15.0", features = ["disable-hdri"] } magick_rust = { version = "0.16.0", features = ["disable-hdri"] }
``` ```
## Example Usage ## Example Usage
@ -102,12 +102,12 @@ There are still many missing functions, so if you find there is something you wo
## Docker ## Docker
[Docker](https://www.docker.com) can be used to build and test the code without affecting your development environment, which may have a different version of ImageMagick installed. The use of `docker-compose`, as shown in the example below, is optional, but it makes the process very simple. [Docker](https://www.docker.com) can be used to build and test the code without affecting your development environment, which may have a different version of ImageMagick installed. The use of `docker compose`, as shown in the example below, is optional, but it makes the process very simple.
```shell ```shell
$ cd docker $ cd docker
$ docker-compose build --pull $ docker compose build --pull
$ docker-compose run magick-rust $ docker compose run magick-rust
$ cargo clean $ cargo clean
$ cargo build $ cargo build
$ cargo test $ cargo test