-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (60 loc) · 1.85 KB
/
Cargo.toml
File metadata and controls
67 lines (60 loc) · 1.85 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
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
65
66
67
[package]
name = "libcaesium"
version = "0.20.3"
authors = ["Matteo Paonessa <matteo.paonessa@gmail.com>"]
edition = "2021"
categories = ["multimedia::images"]
keywords = [
"compression",
"jpeg",
"png",
"gif",
"webp"
]
description = "A lossy/lossless image compression library."
readme = "README.md"
exclude = [
"tests/*",
".github/*",
".idea/*",
]
homepage = "https://github.com/Lymphatus/libcaesium"
repository = "https://github.com/Lymphatus/libcaesium"
license = "Apache-2.0"
[features]
default = ["jpg", "png", "webp", "gif", "tiff", "parallel"]
jpg = ["dep:mozjpeg-sys", "image/jpeg"]
png = ["dep:oxipng", "dep:lodepng", "dep:imagequant", "image/png"]
webp = ["dep:webp", "image/webp"]
gif = ["dep:gifski", "dep:gif", "dep:gif-dispose", "image/gif"]
tiff = ["dep:tiff", "image/tiff"]
parallel = ["oxipng?/parallel", "imagequant?/threads", "dssim/threads"]
[dependencies]
mozjpeg-sys = { version = "=2.2.1", optional = true }
oxipng = { version = "9.0", default-features = false, features = ["filetime", "zopfli"], optional = true }
libc = "0.2"
webp = { version = "0.3.1", optional = true }
infer = "0.19"
image = { version = "0.25", default-features = false }
img-parts = "0.4.0"
bytes = "1.7"
lodepng = { version = "3.10", optional = true }
imagequant = { version = "4.3", optional = true, default-features = false }
tiff = { version = "0.9", optional = true }
kamadak-exif = "0.6"
gifski = { version = "1.34", optional = true }
gif = { version = "0.13", optional = true }
gif-dispose = { version = "5.0", optional = true }
imgref = "1.12.0"
[target.wasm32-unknown-emscripten.dependencies]
libwebp-sys = "=0.9.5"
[dev-dependencies]
dssim = { version = "3.3", default-features = false, features = ["no-macos-vimage"] }
[lib]
name = "caesium"
path = "src/lib.rs"
crate-type = ["lib", "cdylib"]
test = true
doctest = false
bench = false
doc = false