Downgrade rust-bindgen to 0.25.5

There is an issue when building on Linux when using 0.26.0 or higher, so
keep to a version that still works on Mac and Linux.

cargo test passes
This commit is contained in:
Nathan Fiedler
2017-07-08 21:30:42 -07:00
parent 979cdd3269
commit acabbafa08
3 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "magick_rust"
version = "0.6.5"
version = "0.6.6"
authors = ["Nathan Fiedler <nathanfiedler@fastmail.fm>"]
description = "Selection of Rust bindings for the ImageMagick library."
homepage = "https://github.com/nlfiedler/magick-rust"
@ -14,5 +14,6 @@ build = "build.rs"
libc = ">=0.2"
[build-dependencies]
bindgen = "0.26.2"
# bindgen 0.26.x results in "already been defined in this module" errors (bug #687)
bindgen = "0.25.5"
pkg-config = "0.3.9"