# 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"
name = "nef-compactor"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lossless NEF compressor — re-encodes Nikon raw files with JPEG XL for 20-40% smaller files, with bit-perfect decompression"
readme = "README.md"
keywords = [
    "nikon",
    "nef",
    "raw",
    "compression",
]
categories = [
    "command-line-utilities",
    "compression",
    "multimedia::images",
]
license = "MIT"
repository = "https://github.com/pimlu/nef-compactor"

[features]
debug-tools = []

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

[[bin]]
name = "dump-raw"
path = "src/bin/dump_raw.rs"
required-features = ["debug-tools"]

[[bin]]
name = "nef-compactor"
path = "src/main.rs"

[[bin]]
name = "roundtrip-test"
path = "src/bin/roundtrip_test.rs"
required-features = ["debug-tools"]

[dependencies.jpegxl-rs]
version = "0.11"
features = ["vendored"]

[dependencies.jpegxl-sys]
version = "0.11"

[dependencies.lexopt]
version = "0.3"

[dependencies.zstd]
version = "0.13"
