31 lines
827 B
TOML
31 lines
827 B
TOML
[package]
|
|
name = "magick_rust"
|
|
version = "1.0.0"
|
|
authors = ["Nathan Fiedler <nathanfiedler@fastmail.fm>"]
|
|
description = "Selection of Rust bindings for the ImageMagick library."
|
|
homepage = "https://github.com/nlfiedler/magick-rust"
|
|
repository = "https://github.com/nlfiedler/magick-rust.git"
|
|
readme = "README.md"
|
|
license = "Apache-2.0"
|
|
keywords = ["magickwand", "imagemagick"]
|
|
build = "build.rs"
|
|
exclude = [
|
|
".github/*",
|
|
"docker/*",
|
|
"tests/*",
|
|
]
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.69.4"
|
|
pkg-config = "0.3"
|
|
|
|
[features]
|
|
# Work-around for bindgen(?) not finding the QuantumRange definition ever since
|
|
# MagickWand 7.1.1.17 (or .16) when this suddenly stopped working.
|
|
default = ["disable-hdri"]
|
|
# Workaround for bindgen bug when ImageMagick is compiled with disable-hdri
|
|
disable-hdri = []
|