iqa 0.1.0

A single, ergonomic API over the patchwork of visual quality assessment metrics in the Rust ecosystem.
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"
rust-version = "1.85"
name = "iqa"
version = "0.1.0"
build = "build.rs"
links = "ssimulacra2"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A single, ergonomic API over the patchwork of visual quality assessment metrics in the Rust ecosystem."
documentation = "https://docs.rs/iqa"
readme = "README.md"
keywords = [
    "iqa",
    "image-quality",
    "ssim",
    "psnr",
    "metrics",
]
categories = [
    "multimedia::images",
    "computer-vision",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/justin13888/iqa-rs"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "psnr",
    "ssimulacra2",
]
psnr = []
ssimulacra2 = [
    "dep:cc",
    "dep:pkg-config",
]

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

[[example]]
name = "compare"
path = "examples/compare.rs"
required-features = [
    "psnr",
    "ssimulacra2",
]

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

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

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

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[build-dependencies.cc]
version = "1"
optional = true

[build-dependencies.pkg-config]
version = "0.3"
optional = true