-
Notifications
You must be signed in to change notification settings - Fork 131
/
Cargo.toml
50 lines (42 loc) · 1.46 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
[package]
name = "imagequant"
version = "4.3.3"
description = "Convert 24/32-bit images to 8-bit palette with alpha channel.\nFor lossy PNG compression and high-quality GIF images\nDual-licensed like pngquant. See https://pngquant.org for details."
authors = ["Kornel Lesiński <[email protected]>"]
license = "GPL-3.0-or-later"
homepage = "https://pngquant.org/lib"
repository = "https://github.com/ImageOptim/libimagequant"
documentation = "https://docs.rs/imagequant"
categories = ["multimedia::images"]
keywords = ["quantization", "palette", "pngquant", "compression", "gif"]
include = ["COPYRIGHT", "src/*.rs", "*.h", "README.md", "Cargo.toml"]
readme = "README.md"
edition = "2021"
rust-version = "1.65"
[features]
default = ["threads"]
threads = ["dep:rayon", "dep:thread_local"]
# supports up to 2048 colors for palettes, but NOT FOR REMAPPING
large_palettes = []
# this is private and unstable for imagequant-sys only, do not use
_internal_c_ffi = []
[profile.release]
debug = false
panic = "abort"
[lib]
doctest = false
[dependencies]
arrayvec = "0.7.4"
rgb = { version = "0.8.47", default-features = false, features = ["bytemuck"] }
rayon = { version = "1.10.0", optional = true }
thread_local = { version = "1.1.8", optional = true }
once_cell = "1.19.0"
[dev-dependencies]
lodepng = "3.10"
[workspace]
members = ["imagequant-sys", "imagequant-sys/c_test"]
[package.metadata.release]
consolidate-commits = true
tag-message = ""
tag-prefix = ""
tag-name = "{{version}}"