-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
64 lines (54 loc) · 1.71 KB
/
Cargo.toml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
version = "2.18.0"
authors = ["Kornel Lesiński <[email protected]>"]
build = "rust/build.rs"
categories = ["multimedia::images"]
description = "Convert 24/32-bit images to 8-bit palette with alpha channel.\nBindings for libimagequant that powers pngquant lossy PNG compressor.\n\nDual-licensed like pngquant. See https://pngquant.org for details."
documentation= "https://github.com/kornelski/pngquant#readme"
homepage = "https://pngquant.org"
include = ["/rwpng*.[ch]", "/pngquant.c","/pngquant_opts.[ch]", "/rust/*.rs", "/COPYRIGHT", "/Cargo.toml", "/README.md"]
keywords = ["quantization", "palette", "image", "pngquant", "compression"]
license = "GPL-3.0+"
name = "pngquant"
readme = "README.md"
repository = "https://github.com/kornelski/pngquant.git"
edition = "2018"
[[bin]]
name = "pngquant"
path = "rust/bin.rs"
[build-dependencies]
cc = "1.0.71"
dunce = "1.0.2"
[dependencies]
getopts = "0.2.21"
libc = "0.2.106"
libpng-sys = "1.1.8"
wild = "2.0.4"
[dependencies.cocoa_image]
optional = true
version = "1.0.4"
[dependencies.imagequant-sys]
path = "lib"
version = "3.0.2"
[dependencies.lcms2-sys]
optional = true
version = "3.1.9"
[dependencies.openmp-sys]
optional = true
version = "1.2.0"
[features]
cocoa = ["cocoa_image"]
default = ["sse", "lcms2"]
lcms2 = ["lcms2-sys"]
lcms2-static = ["lcms2", "lcms2-sys/static"]
openmp = ["openmp-sys", "imagequant-sys/openmp"]
openmp-static = ["openmp", "openmp-sys/static", "imagequant-sys/openmp-static"]
png-static = ["libpng-sys/static"]
z-static = ["libpng-sys/static-libz"]
static = ["lcms2-static", "png-static", "openmp-static"]
sse = ["imagequant-sys/sse"]
alloc_system = []
[profile.release]
lto = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]