-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (33 loc) · 1.25 KB
/
Copy pathCargo.toml
File metadata and controls
38 lines (33 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "magick_rust"
version = "2.1.1"
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"
edition = "2024"
rust-version = "1.85"
exclude = [".github/*", "docker/*", "tests/*"]
[dependencies]
libc = "0.2"
[build-dependencies]
bindgen = "0.72.0"
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 = []
[lints.clippy]
missing_safety_doc = { level = "allow" }
# docs.rs cannot install ImageMagick, so build.rs falls back to the checked-in
# pre-generated bindings (docsrs_bindings.rs) when the DOCS_RS env var is set.
[package.metadata.docs.rs]
# The docs build never links the native library, so target the docs.rs default
# host explicitly and document with the default features.
default-target = "x86_64-unknown-linux-gnu"