File: Cargo.toml

package info (click to toggle)
libimagequant 4.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 532 kB
  • sloc: ansic: 430; java: 158; cs: 132; xml: 87; makefile: 72
file content (50 lines) | stat: -rw-r--r-- 1,493 bytes parent folder | download
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.4.1"
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 <kornel@pngquant.org>"]
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.4", 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}}"