-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (40 loc) · 1.22 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
# Please upgrade to v4 of the library
[package]
version = "3.1.4+sys2.18.0"
authors = ["Kornel Lesiński <[email protected]>"]
build = "rust-sys/build.rs"
categories = ["external-ffi-bindings"]
homepage = "https://pngquant.org/lib"
include = ["COPYRIGHT", "rust-sys/*", "*.c", "*.h", "README.md", "Cargo.toml"]
keywords = ["pngquant"]
license = "GPL-3.0-or-later"
links = "imagequant"
name = "imagequant-sys"
readme = "README.md"
repository = "https://github.com/ImageOptim/libimagequant"
description = "Statically linked C part of imagequant library powering tools such as pngquant.\n\nThis library is dual-licensed like pngquant: either GPL or a commercial license. See website for details: https://pngquant.org"
edition = "2018"
[build-dependencies]
cc = "1.0.71"
[dependencies]
rgb = "0.8.29"
bitflags = "1.3.2"
[dependencies.openmp-sys]
optional = true
version = "1.2.0"
[features]
default = ["sse"]
openmp = ["openmp-sys"]
openmp-static = ["openmp", "openmp-sys/static"]
sse = []
[lib]
crate-type = ["cdylib", "staticlib", "lib"]
name = "imagequant_sys"
path = "rust-sys/libimagequant.rs"
doctest = false
[dev-dependencies]
lodepng = "3.4.7"
imagequant = { path = "./rust-api" }
[profile.bench]
debug = 1
split-debuginfo = 'unpacked'