# 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"
name = "jxl-oxide-cli"
version = "0.8.1"
authors = ["Wonwoo Choi <chwo9843@gmail.com>"]
default-run = "jxl-oxide"
description = "CLI tools of jxl-oxide"
readme = "README.md"
keywords = [
    "jpeg-xl",
    "decoder",
    "jxl-oxide",
]
categories = ["multimedia::images"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tirr-c/jxl-oxide.git"

[[bin]]
name = "jxl-oxide"
path = "src/main.rs"
doc = false

[dependencies.clap]
version = "4.5.1"
features = ["derive"]

[dependencies.jxl-oxide]
version = "0.8.1"
features = ["lcms2"]
default-features = false

[dependencies.lcms2]
version = "6.0.4"

[dependencies.miniz_oxide]
version = "0.7.2"

[dependencies.png]
version = "0.17.13"

[dependencies.rayon]
version = "1.8.1"
optional = true

[dependencies.tracing]
version = "0.1.40"
features = ["std"]
default-features = false

[dependencies.tracing-subscriber]
version = "0.3.18"
features = ["env-filter"]

[features]
__devtools = []
default = ["rayon"]
rayon = [
    "dep:rayon",
    "jxl-oxide/rayon",
]
