oximg 0.4.2

High-performance image compression: library, CLI, and self-hostable server (PoC).
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 = "2024"
name = "oximg"
version = "0.4.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance image compression: library, CLI, and self-hostable server (PoC)."
readme = "README.md"
keywords = [
    "image",
    "jpeg",
    "resize",
    "compression",
    "server",
]
categories = [
    "multimedia::images",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/oximg/oximg"

[features]
avif = [
    "dep:avif-serialize",
    "dep:avif-parse",
    "dep:dav1d-sys",
]
default = []

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

[[bin]]
name = "oximg"
path = "src/main.rs"

[[example]]
name = "avif_parity"
path = "examples/avif_parity.rs"
required-features = ["avif"]

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

[[example]]
name = "enc_loop"
path = "examples/enc_loop.rs"
required-features = ["avif"]

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.avif-parse]
version = "2"
optional = true

[dependencies.avif-serialize]
version = "0.8"
optional = true

[dependencies.axum]
version = "0.8"

[dependencies.dav1d-sys]
version = "0.8"
optional = true

[dependencies.fast_image_resize]
version = "5"

[dependencies.hmac]
version = "0.13.0"

[dependencies.jpegli]
version = "0.1.0"

[dependencies.libwebp-sys]
version = "0.14"
features = ["neon"]

[dependencies.mimalloc]
version = "0.1.52"
optional = true

[dependencies.mozjpeg]
version = "0.10"

[dependencies.png]
version = "0.18.1"

[dependencies.sha2]
version = "0.11.0"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "macros",
    "signal",
    "fs",
]

[dependencies.ureq]
version = "3.3.0"

[target.'cfg(target_arch = "x86_64")'.dependencies.pic-scale]
version = "0.7"

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