# 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.85"
name = "butteraugli"
version = "0.6.1"
authors = ["Lilith River <lilith@imazen.io>"]
build = false
exclude = [
    "comparison_outputs/",
    "examples/",
    "tests/cpp_parity.rs",
    "tests/cpp_fuzz.rs",
    "tests/intermediate_values.rs",
    "tests/step_by_step_comparison.rs",
    "tests/reference_parity.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust implementation of Google's butteraugli perceptual image quality metric from libjxl"
homepage = "https://github.com/imazen/butteraugli"
documentation = "https://docs.rs/butteraugli"
readme = "README.md"
keywords = [
    "image",
    "quality",
    "perceptual",
    "metric",
    "butteraugli",
]
categories = [
    "multimedia::images",
    "algorithms",
    "graphics",
]
license = "BSD-3-Clause"
repository = "https://github.com/imazen/butteraugli"

[features]
default = []
internals = []
unsafe-performance = []

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

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

[dependencies.archmage]
version = "0.7"
features = ["avx512"]

[dependencies.imgref]
version = "1.10"

[dependencies.magetypes]
version = "0.7"
features = ["avx512"]

[dependencies.multiversed]
version = "0.2"

[dependencies.multiversion]
version = "0.8"

[dependencies.rgb]
version = "0.8"

[dependencies.simd_aligned]
version = "0.6.1"

[dependencies.wide]
version = "0.7"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.jpeg-decoder]
version = "0.3"

[dev-dependencies.mozjpeg]
version = "0.10"

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

[dev-dependencies.proptest]
version = "1.4"

[lints.rust.dead_code]
level = "allow"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("cpp-parity", "avx512"))']

[lints.rust.unused_imports]
level = "allow"
priority = -1
