# 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 = "photo_sort"
version = "0.2.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A tool to rename and sort photos/videos by its EXIF date/metadata. It tries to extract the date
from the EXIF data or file name and renames the image file according to a given
format string.

Foreach source directory all images are processed and renamed to the target directory"""
homepage = "https://github.com/0xCCF4/PhotoSort"
documentation = "https://docs.rs/photo_sort"
readme = "README.md"
keywords = [
    "photo",
    "sort",
    "exif",
    "rename",
    "date",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/0xCCF4/PhotoSort"

[features]
binary = [
    "dep:fern",
    "dep:indicatif",
    "dep:threadpool",
]
default = ["binary"]
video = ["dep:ffmpeg-next"]

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

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

[dependencies.anyhow]
version = "1.0.99"

[dependencies.chrono]
version = "0.4.42"

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

[dependencies.fern]
version = "0.7.1"
features = ["colored"]
optional = true

[dependencies.ffmpeg-next]
version = "8.0.0"
optional = true

[dependencies.filetime]
version = "0.2.26"

[dependencies.indicatif]
version = "0.18.0"
optional = true

[dependencies.kamadak-exif]
version = "0.6.1"

[dependencies.log]
version = "0.4.28"

[dependencies.regex]
version = "1.11.2"

[dependencies.symlink]
version = "0.1.0"

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