zengif 0.3.0

Server-side GIF codec with zero-trust design, memory bounds, streaming, and full animation transparency support
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.75"
name = "zengif"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Server-side GIF codec with zero-trust design, memory bounds, streaming, and full animation transparency support"
documentation = "https://docs.rs/zengif"
readme = "README.md"
keywords = [
    "gif",
    "image",
    "animation",
    "codec",
    "server",
]
categories = [
    "multimedia::images",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/imazen/zengif"

[features]
color_quant = ["dep:color_quant"]
default = ["std"]
exoquant-deprecated = ["dep:exoquant"]
imagequant = ["dep:imagequant"]
imgref-interop = [
    "imgref",
    "rgb-interop",
]
quantizr = ["dep:quantizr"]
rgb-interop = ["rgb"]
simd = [
    "wide",
    "multiversed",
]
std = [
    "gif/std",
    "enough/std",
    "whereat/std",
]

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

[[example]]
name = "alloc_profile"
path = "examples/alloc_profile.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "memory_profile"
path = "examples/memory_profile.rs"

[[example]]
name = "wasm_decode"
path = "examples/wasm_decode.rs"

[[test]]
name = "cancellation"
path = "tests/cancellation.rs"

[[test]]
name = "corpus"
path = "tests/corpus.rs"

[[test]]
name = "malformed"
path = "tests/malformed.rs"

[[test]]
name = "quantizer_quality"
path = "tests/quantizer_quality.rs"

[[test]]
name = "round_trip"
path = "tests/round_trip.rs"

[[bench]]
name = "codec"
path = "benches/codec.rs"
harness = false

[dependencies.color_quant]
version = "1.1"
optional = true

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

[dependencies.exoquant]
version = "0.2"
optional = true

[dependencies.gif]
version = "0.14"
default-features = false

[dependencies.imagequant]
version = "4.4"
optional = true

[dependencies.imgref]
version = "1.12"
optional = true

[dependencies.multiversed]
version = "0.1"
features = [
    "x86-64-v3",
    "x86-64-v4",
    "aarch64-basic",
]
optional = true

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

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

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

[dependencies.wide]
version = "1.1"
optional = true

[dev-dependencies.almost-enough]
version = "0.3"

[dev-dependencies.imgref]
version = "1.12"

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

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

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

[profile.release]
lto = "thin"
debug = 1

[profile.test]
opt-level = 2