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

version = "0.8.1"
edition = "2021"

default-run = "jxl-oxide"

[dependencies]
lcms2 = "6.0.4"
miniz_oxide = "0.7.2"
png = "0.17.13"
tracing.workspace = true

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

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

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

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

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

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