zensim 0.2.1

Fast psychovisual image similarity metric
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.89.0"
name = "zensim"
version = "0.2.1"
build = false
exclude = [
    "benches/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast psychovisual image similarity metric"
readme = "README.md"
keywords = [
    "image",
    "quality",
    "ssim",
    "perceptual",
    "similarity",
]
categories = [
    "multimedia::images",
    "computer-vision",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/imazen/zensim"
resolver = "2"

[features]
avx512 = [
    "archmage/avx512",
    "magetypes/avx512",
]
classification = []
default = [
    "avx512",
    "imgref",
]
imgref = [
    "dep:imgref",
    "dep:rgb",
]
training = []

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

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

[dependencies.archmage]
version = "0.9.8"
features = [
    "macros",
    "avx512",
]

[dependencies.bytemuck]
version = "1.25"
default-features = false

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

[dependencies.linear-srgb]
version = "0.6.4"
features = ["std"]
default-features = false

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

[dependencies.rayon]
version = "1.10"

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

[dependencies.thiserror]
version = "2"

[dev-dependencies.archmage]
version = "0.9.8"
features = [
    "macros",
    "avx512",
    "testable_dispatch",
]

[dev-dependencies.image]
version = "0.25"

[dev-dependencies.serde_json]
version = "1"

[lints.clippy]
too_many_arguments = "allow"
uninlined_format_args = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("zenresize", "training", "imgref", "classification"))']