build: requires ImageMagick 7.1.1-26
With the addition of the OffIfOpaque alpha channel option, this crate now requires ImageMagick 7.1.1-26 or later. However, the build.rs cannot specify the -26 so 7.1.1 is as specific as it gets for now. cargo test passes
This commit is contained in:
@ -7,7 +7,7 @@ A somewhat safe Rust interface to the [ImageMagick](http://www.imagemagick.org/)
|
|||||||
Because this crate is generating bindings for a C/C++ library, there are several dependencies beyond simply having the latest Rust toolchain installed.
|
Because this crate is generating bindings for a C/C++ library, there are several dependencies beyond simply having the latest Rust toolchain installed.
|
||||||
|
|
||||||
* [Rust](https://www.rust-lang.org) stable
|
* [Rust](https://www.rust-lang.org) stable
|
||||||
* [ImageMagick](https://imagemagick.org) (version 7.0.10-36 to 7.1.x)
|
* [ImageMagick](https://imagemagick.org) (version 7.1.1-26 or later)
|
||||||
- Does _not_ work with ImageMagick **6.x** due to backward incompatible changes.
|
- Does _not_ work with ImageMagick **6.x** due to backward incompatible changes.
|
||||||
- [FreeBSD](https://www.freebsd.org): `sudo pkg install ImageMagick7`
|
- [FreeBSD](https://www.freebsd.org): `sudo pkg install ImageMagick7`
|
||||||
- [Homebrew](http://brew.sh): `brew install imagemagick`
|
- [Homebrew](http://brew.sh): `brew install imagemagick`
|
||||||
|
|||||||
2
build.rs
2
build.rs
@ -23,7 +23,7 @@ use std::io::prelude::*;
|
|||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
|
||||||
const MIN_VERSION: &str = "7.0";
|
const MIN_VERSION: &str = "7.1.1";
|
||||||
const MAX_VERSION: &str = "7.2";
|
const MAX_VERSION: &str = "7.2";
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
|
|||||||
Reference in New Issue
Block a user