libcaesium/Cargo.toml

59 lines
1.3 KiB
TOML
Raw Normal View History

2021-10-23 17:18:52 +02:00
[package]
name = "libcaesium"
2023-08-12 14:44:59 +02:00
version = "0.12.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]
default = ["jpg", "png", "webp", "gif"]
jpg = ["dep:mozjpeg-sys"]
png = ["dep:oxipng", "dep:lodepng", "dep:imagequant"]
webp = ["dep:webp"]
gif = ["dep:gifsicle"]
2021-10-23 17:18:52 +02:00
[dependencies]
2023-04-08 13:22:11 +02:00
mozjpeg-sys = { version = "1.0", optional = true }
oxipng = { version = "8.0", optional = true }
2022-04-13 20:53:36 +02:00
libc = "0.2"
2022-10-17 14:16:26 +02:00
gifsicle = { version = "1.92.5", optional = true }
2023-04-29 22:41:17 +02:00
webp = { version = "0.2.2", optional = true }
2023-08-12 14:44:59 +02:00
infer = "0.15.0"
2023-05-01 13:55:39 +02:00
image = { version = "0.24.6", default-features = false, features = ["jpeg", "png", "webp", "gif"] }
2022-10-02 12:48:09 +02:00
img-parts = "0.3"
2022-04-13 20:53:36 +02:00
bytes = "1.1"
2022-10-17 14:16:26 +02:00
lodepng = { version = "3.7", optional = true }
2023-04-08 13:22:11 +02:00
imagequant = {version = "4.1", optional = true}
2022-10-17 14:16:26 +02:00
2021-10-23 17:18:52 +02:00
[dev-dependencies]
2022-02-23 17:50:48 +01:00
dssim = "3.2.0"
2022-04-11 09:58:52 +02:00
kamadak-exif = "0.5.4"
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