2021-10-23 17:18:52 +02:00
|
|
|
[package]
|
|
|
|
name = "libcaesium"
|
2024-01-25 19:46:54 +01:00
|
|
|
version = "0.14.1"
|
2021-10-23 17:18:52 +02:00
|
|
|
authors = ["Matteo Paonessa <matteo.paonessa@gmail.com>"]
|
2022-04-11 09:58:52 +02:00
|
|
|
edition = "2021"
|
2021-10-23 17:18:52 +02:00
|
|
|
categories = ["multimedia::images"]
|
|
|
|
keywords = [
|
|
|
|
"compression",
|
|
|
|
"jpeg",
|
|
|
|
"png",
|
|
|
|
"gif",
|
|
|
|
"webp"
|
|
|
|
]
|
|
|
|
description = "A lossy/lossless image compression library."
|
|
|
|
readme = "README.md"
|
|
|
|
exclude = [
|
|
|
|
"tests/*",
|
|
|
|
]
|
|
|
|
homepage = "https://github.com/Lymphatus/libcaesium"
|
|
|
|
repository = "https://github.com/Lymphatus/libcaesium"
|
|
|
|
license = "Apache-2.0"
|
|
|
|
|
2023-08-12 14:44:59 +02:00
|
|
|
[features]
|
2024-01-08 21:26:19 +01:00
|
|
|
default = ["jpg", "png", "webp", "gif", "parallel"]
|
|
|
|
jpg = ["dep:mozjpeg-sys", "image/jpeg"]
|
|
|
|
png = ["dep:oxipng", "dep:lodepng", "dep:imagequant", "image/png"]
|
|
|
|
webp = ["dep:webp", "image/webp"]
|
|
|
|
gif = ["dep:gifsicle", "image/gif"]
|
|
|
|
parallel = ["oxipng?/parallel", "imagequant?/threads", "dssim/threads"]
|
2023-08-12 14:44:59 +02:00
|
|
|
|
2021-10-23 17:18:52 +02:00
|
|
|
[dependencies]
|
2024-01-23 19:02:46 +01:00
|
|
|
mozjpeg-sys = { version = "1.1", optional = true }
|
|
|
|
oxipng = { version = "9.0", default-features = false, features = ["filetime", "zopfli"], optional = true }
|
2022-04-13 20:53:36 +02:00
|
|
|
libc = "0.2"
|
2024-01-23 19:02:46 +01:00
|
|
|
gifsicle = { version = "1.94", optional = true }
|
|
|
|
webp = { version = "0.2.6", optional = true }
|
2023-08-12 14:44:59 +02:00
|
|
|
infer = "0.15.0"
|
2024-01-23 19:02:46 +01:00
|
|
|
image = { version = "0.24.8", default-features = false }
|
2022-10-02 12:48:09 +02:00
|
|
|
img-parts = "0.3"
|
2024-01-23 19:02:46 +01:00
|
|
|
bytes = "1.5"
|
|
|
|
lodepng = { version = "3.10", optional = true }
|
|
|
|
imagequant = {version = "4.3", optional = true, default-features = false}
|
2022-10-17 14:16:26 +02:00
|
|
|
|
2021-10-23 17:18:52 +02:00
|
|
|
[dev-dependencies]
|
2024-01-23 19:02:46 +01:00
|
|
|
dssim = { version = "3.3", default-features = false, features = ["no-macos-vimage"] }
|
|
|
|
kamadak-exif = "0.5"
|
2021-10-23 17:18:52 +02:00
|
|
|
|
2022-06-23 13:14:15 +02:00
|
|
|
[[bin]]
|
|
|
|
name = "main"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2021-10-23 17:18:52 +02:00
|
|
|
[lib]
|
2022-02-22 15:00:14 +01:00
|
|
|
name = "caesium"
|
2021-10-23 17:18:52 +02:00
|
|
|
path = "src/lib.rs"
|
2022-01-24 16:21:05 +01:00
|
|
|
crate-type = ["lib", "cdylib"]
|
2021-10-23 17:18:52 +02:00
|
|
|
test = true
|
|
|
|
doctest = false
|
|
|
|
bench = false
|
|
|
|
doc = false
|