zenwebp 0.3.0

High-performance WebP encoding and decoding in pure Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.92"
name = "zenwebp"
version = "0.3.0"
build = false
include = [
    "/src",
    "LICENSE-AGPL",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance WebP encoding and decoding in pure Rust"
homepage = "https://github.com/imazen/zenwebp"
documentation = "https://docs.rs/zenwebp"
readme = "README.md"
keywords = [
    "webp",
    "image",
    "encoder",
    "decoder",
    "codec",
]
categories = [
    "multimedia::images",
    "multimedia::encoding",
    "encoding",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/imazen/zenwebp"

[features]
_benchmarks = []
_corpus_tests = []
_profiling = [
    "dep:png",
    "dep:webp",
]
_wasm_profiling = ["std"]
default = [
    "std",
    "fast-yuv",
    "simd",
    "pixel-types",
]
fast-yuv = ["dep:yuv"]
imgref = [
    "dep:imgref",
    "pixel-types",
]
mode_debug = ["std"]
multiverse = [
    "dep:multiversed",
    "dep:multiversion",
]
pixel-types = ["dep:rgb"]
quantize = ["quantize-quantizr"]
quantize-imagequant = [
    "dep:imagequant",
    "std",
]
quantize-quantizr = [
    "dep:quantizr",
    "std",
]
simd = [
    "dep:archmage",
    "dep:magetypes",
    "dep:safe_unaligned_simd",
]
std = [
    "thiserror/std",
    "whereat/std",
    "byteorder-lite/std",
]
unchecked = []

[lib]
name = "zenwebp"
path = "src/lib.rs"

[dependencies.archmage]
version = "0.5.0"
optional = true

[dependencies.byteorder-lite]
version = "0.1.0"
default-features = false

[dependencies.enough]
version = "0.3.1"
features = ["alloc"]
default-features = false

[dependencies.hashbrown]
version = "0.16"
features = ["default-hasher"]
default-features = false

[dependencies.imagequant]
version = "4.4"
optional = true
default-features = false

[dependencies.imgref]
version = "1.12"
optional = true
default-features = false

[dependencies.libm]
version = "0.2.16"

[dependencies.magetypes]
version = "0.5.0"
optional = true

[dependencies.multiversed]
version = "0.2.0"
optional = true

[dependencies.multiversion]
version = "0.8.0"
optional = true

[dependencies.png]
version = "0.17.12"
optional = true

[dependencies.quantizr]
version = "1.4"
optional = true

[dependencies.rgb]
version = "0.8"
features = ["as-bytes"]
optional = true
default-features = false

[dependencies.safe_unaligned_simd]
version = "0.2.4"
optional = true

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.webp]
version = "0.3.0"
optional = true

[dependencies.whereat]
version = "0.1.3"
default-features = false

[dependencies.yuv]
version = "0.8"
optional = true

[dev-dependencies.codec-corpus]
version = "1"

[dev-dependencies.image-webp]
version = "0.2"

[dev-dependencies.paste]
version = "1.0.14"

[dev-dependencies.png]
version = "0.17.12"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.rgb]
version = "0.8"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.butteraugli]
version = "0.4.0"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8.1"
features = ["html_reports"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.dssim-core]
version = "3.4"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.fast-ssim2]
version = "0.6.5"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.imgref]
version = "1.10"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.webp]
version = "0.3.1"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.webpx]
version = "0.1.3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.yuv]
version = "0.8"

[profile.release]
lto = true
codegen-units = 1