2021-10-23 17:18:52 +02:00
|
|
|
[package]
|
|
|
|
name = "libcaesium"
|
2025-01-11 14:33:20 +01:00
|
|
|
version = "0.17.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/*",
|
2024-10-11 15:26:56 +02:00
|
|
|
".github/*",
|
|
|
|
".idea/*",
|
2021-10-23 17:18:52 +02:00
|
|
|
]
|
|
|
|
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-02-13 20:17:05 +01:00
|
|
|
default = ["jpg", "png", "webp", "gif", "tiff", "parallel"]
|
2024-01-08 21:26:19 +01:00
|
|
|
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"]
|
2024-06-12 17:19:37 +02:00
|
|
|
tiff = ["image/tiff"]
|
2024-01-08 21:26:19 +01:00
|
|
|
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-06-12 17:32:29 +02:00
|
|
|
mozjpeg-sys = { version = "2.2", optional = true }
|
2024-01-23 19:02:46 +01:00
|
|
|
oxipng = { version = "9.0", default-features = false, features = ["filetime", "zopfli"], optional = true }
|
2022-04-13 20:53:36 +02:00
|
|
|
libc = "0.2"
|
2024-10-10 14:05:59 +02:00
|
|
|
gifsicle = { version = "1.95", optional = true }
|
2024-04-23 21:50:44 +02:00
|
|
|
webp = { version = "0.3.0", optional = true }
|
2024-06-12 17:19:37 +02:00
|
|
|
infer = "0.16.0"
|
2024-04-04 15:59:30 +02:00
|
|
|
image = { version = "0.25.1", default-features = false }
|
2025-01-11 14:33:20 +01:00
|
|
|
img-parts = { git = "https://github.com/Lymphatus/img-parts", rev = "6a0cd0d" }
|
2024-10-10 14:05:59 +02:00
|
|
|
bytes = "1.7"
|
2024-01-23 19:02:46 +01:00
|
|
|
lodepng = { version = "3.10", optional = true }
|
2024-02-13 20:17:05 +01:00
|
|
|
imagequant = { version = "4.3", optional = true, default-features = false }
|
2024-06-12 17:19:37 +02:00
|
|
|
tiff = { version = "0.9" }
|
2025-01-11 14:33:20 +01:00
|
|
|
kamadak-exif = "0.6"
|
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"] }
|
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
|