Adjust pkg-config dependency, revise requirements
This commit is contained in:
parent
07c4971b66
commit
9f47958081
|
@ -15,4 +15,4 @@ libc = ">=0.2"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
bindgen = "0.31"
|
bindgen = "0.31"
|
||||||
pkg-config = "0.3"
|
pkg-config = ">=0.3"
|
||||||
|
|
|
@ -4,8 +4,7 @@ A somewhat safe Rust interface to the [ImageMagick](http://www.imagemagick.org/)
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
* Rust 1.20 or higher (on Windows you will require MSVC version)
|
* Rust stable
|
||||||
* Cargo 0.20 or higher
|
|
||||||
* ImageMagick (version 7.0.x)
|
* ImageMagick (version 7.0.x)
|
||||||
- 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`
|
||||||
|
@ -14,6 +13,7 @@ A somewhat safe Rust interface to the [ImageMagick](http://www.imagemagick.org/)
|
||||||
- Windows: download `*-dll` [installer](https://www.imagemagick.org/script/download.php#windows). Only MSVC version available. When installing, check the checkbox "Install development headers and libraries for C and C++".
|
- Windows: download `*-dll` [installer](https://www.imagemagick.org/script/download.php#windows). Only MSVC version available. When installing, check the checkbox "Install development headers and libraries for C and C++".
|
||||||
* [Clang](https://clang.llvm.org) (version 3.5 or higher)
|
* [Clang](https://clang.llvm.org) (version 3.5 or higher)
|
||||||
- Or whatever version is dictated by [rust-bindgen](https://github.com/servo/rust-bindgen)
|
- Or whatever version is dictated by [rust-bindgen](https://github.com/servo/rust-bindgen)
|
||||||
|
* Windows requires MSVC toolchain
|
||||||
* Optionally `pkg-config`, to facilitate linking with ImageMagick. Or you can set linker parameters via environment variables.
|
* Optionally `pkg-config`, to facilitate linking with ImageMagick. Or you can set linker parameters via environment variables.
|
||||||
|
|
||||||
## Build and Test
|
## Build and Test
|
||||||
|
|
Loading…
Reference in a new issue