[[bin]]
name = "image_helper"
path = "src/main.rs"
required-features = ["build-binary"]

[dependencies.bytes]
version = "1.11.1"

[dependencies.clap]
features = ["derive"]
optional = true
version = "4.6.1"

[dependencies.image]
optional = true
version = "0.25.10"

[dependencies.log]
features = ["release_max_level_trace"]
version = "0.4.29"

[dependencies.profiling]
optional = true
version = "1.0.18"

[dependencies.strum]
version = "0.28.0"

[dependencies.strum_macros]
version = "0.28.0"

[dependencies.switchy_async]
default-features = false
features = [
    "macros",
    "tokio",
]
version = "0.2.0"

[dependencies.switchy_fs]
default-features = false
features = ["std"]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.webp]
optional = true
version = "0.3.1"

[features]
build-binary = [
    "dep:clap",
    "image",
]
default = [
    "image",
    "libvips",
]
fail-on-warnings = [
    "switchy_async/fail-on-warnings",
    "switchy_fs/fail-on-warnings",
]
image = [
    "dep:image",
    "dep:webp",
]
libvips = ["dep:libvips"]
profiling = ["dep:profiling"]

[package]
authors = ["Braden Steffaniak"]
categories = [
    "compression",
    "development-tools",
    "multimedia",
]
description = "MoosicBox image package"
edition = "2024"
keywords = [
    "compression",
    "image",
    "resize",
]
license = "MPL-2.0"
name = "moosicbox_image"
readme = "README.md"
repository = "https://github.com/MoosicBox/MoosicBox"
version = "0.2.0"

[package.metadata]
examples = true

[package.metadata.cargo-machete]
ignored = ["strum"]

[target.'cfg(not(target_os = "windows"))'.dependencies.libvips]
optional = true
version = "1.7.6"

[target.'cfg(target_os = "windows")'.dependencies]
