[package]
edition = "2021"
name = "photo_sort"
version = "0.3.2"
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.102"
[dependencies.chrono]
version = "0.4.44"
[dependencies.clap]
version = "4.6.0"
features = ["derive"]
[dependencies.exitcode]
version = "1.1.2"
[dependencies.fern]
version = "0.7.1"
features = ["colored"]
optional = true
[dependencies.ffmpeg-next]
version = "8.1.0"
optional = true
[dependencies.filetime]
version = "0.2.27"
[dependencies.indicatif]
version = "0.18.4"
optional = true
[dependencies.kamadak-exif]
version = "0.6.1"
[dependencies.log]
version = "0.4.29"
[dependencies.regex]
version = "1.12.3"
[dependencies.symlink]
version = "0.1.0"
[dependencies.threadpool]
version = "1.8.1"
optional = true