[package]
edition = "2024"
rust-version = "1.91"
name = "wml2"
version = "0.0.20"
authors = ["mith-mmk <47620686+mith-mmk@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust multi-format image decoding and encoding library supporting JPEG, PNG, GIF, WebP, TIFF and PC-98 legacy formats (MAG, MAKI, PI, PIC)"
homepage = "https://mith-mmk.github.io/"
readme = false
keywords = [
"image",
"codec",
"jpeg",
"webp",
"png",
]
categories = [
"multimedia::images",
"encoding",
]
license = "MIT"
repository = "https://github.com/mith-mmk/wml2-on-rust"
resolver = "2"
[features]
SJIS = []
bmp = []
bmp-jpeg = [
"bmp",
"jpeg",
]
bmp-png = [
"bmp",
"png",
]
default = [
"bmp",
"gif",
"ico",
"jpeg",
"png",
"tiff",
"webp",
"mag",
"maki",
"pcd",
"pi",
"pic",
"vsp",
"exif",
"bmp-jpeg",
"bmp-png",
"tiff-jpeg",
"ico-bmp",
"ico-png",
"idct_llm",
]
exif = []
fdct_slower = []
gif = []
ico = []
ico-bmp = [
"ico",
"bmp",
]
ico-png = [
"ico",
"png",
]
idct_aan = []
idct_llm = []
idct_slower = []
jpeg = ["exif"]
mag = []
maki = []
multithread = []
noretoro = []
pcd = []
pi = []
pic = []
png = ["exif"]
tiff = ["exif"]
tiff-jpeg = [
"tiff",
"jpeg",
]
vsp = []
webp = [
"exif",
"dep:webp_codec",
]
[lib]
name = "wml2"
crate-type = ["rlib"]
path = "src/lib.rs"
[[test]]
name = "bmp_bounds"
path = "tests/bmp_bounds.rs"
[[test]]
name = "convert"
path = "tests/convert.rs"
[[test]]
name = "error_recovery"
path = "tests/error_recovery.rs"
[[test]]
name = "error_samples"
path = "tests/error_samples.rs"
[[test]]
name = "gif_encode"
path = "tests/gif_encode.rs"
[[test]]
name = "image_to"
path = "tests/image_to.rs"
[[test]]
name = "jpeg_encode"
path = "tests/jpeg_encode.rs"
[[test]]
name = "png_encode"
path = "tests/png_encode.rs"
[[test]]
name = "retro_bounds"
path = "tests/retro_bounds.rs"
[[test]]
name = "retro_formats"
path = "tests/retro_formats.rs"
[[test]]
name = "tiff_encode"
path = "tests/tiff_encode.rs"
[[test]]
name = "webp_decode"
path = "tests/webp_decode.rs"
[[test]]
name = "webp_encode"
path = "tests/webp_encode.rs"
[dependencies.bin-rs]
version = "0.0.10"
features = ["util"]
[dependencies.miniz_oxide]
version = "0.7.1"
[dependencies.webp_codec]
version = "0.2.1"
optional = true
package = "webp-rust"