2020-09-01 17:34:39 +00:00
|
|
|
[package]
|
|
|
|
name = "czkawka_core"
|
2024-02-19 10:18:01 +00:00
|
|
|
version = "7.0.0"
|
2020-09-29 07:27:45 +00:00
|
|
|
authors = ["Rafał Mikrut <mikrutrafal@protonmail.com>"]
|
2022-02-01 16:08:41 +00:00
|
|
|
edition = "2021"
|
2024-02-24 10:44:56 +00:00
|
|
|
rust-version = "1.75.0"
|
2020-09-29 07:27:45 +00:00
|
|
|
description = "Core of Czkawka app"
|
|
|
|
license = "MIT"
|
|
|
|
homepage = "https://github.com/qarmin/czkawka"
|
|
|
|
repository = "https://github.com/qarmin/czkawka"
|
2023-12-11 18:12:26 +00:00
|
|
|
build = "build.rs"
|
2020-09-01 17:34:39 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-05-02 20:37:12 +00:00
|
|
|
humansize = "2.1"
|
2023-10-05 06:06:47 +00:00
|
|
|
rayon = "1.8"
|
2023-05-02 20:37:12 +00:00
|
|
|
crossbeam-channel = "0.5"
|
2020-10-14 19:10:27 +00:00
|
|
|
|
2020-12-27 09:56:26 +00:00
|
|
|
# For saving/loading config files to specific directories
|
2023-05-02 20:37:12 +00:00
|
|
|
directories-next = "2.0"
|
2020-10-14 19:10:27 +00:00
|
|
|
|
|
|
|
# Needed by similar images
|
2023-06-09 20:11:47 +00:00
|
|
|
image_hasher = "1.2"
|
2023-05-02 20:37:12 +00:00
|
|
|
bk-tree = "0.5"
|
2023-10-14 15:48:57 +00:00
|
|
|
image = { version = "0.24", default-features = false, features = ["gif", "jpeg", "ico", "png", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt", "dds", "farbfeld", "openexr", "qoi"] }
|
2023-05-02 20:37:12 +00:00
|
|
|
hamming = "0.1"
|
2020-11-02 20:56:07 +00:00
|
|
|
|
|
|
|
# Needed by same music
|
2023-10-05 06:06:47 +00:00
|
|
|
bitflags = "2.4"
|
2024-01-13 12:57:51 +00:00
|
|
|
lofty = "0.18"
|
2020-12-02 09:25:27 +00:00
|
|
|
|
2021-01-15 10:04:52 +00:00
|
|
|
# Needed by broken files
|
2023-05-02 20:37:12 +00:00
|
|
|
zip = { version = "0.6", features = ["aes-crypto", "bzip2", "deflate", "time"], default-features = false }
|
|
|
|
audio_checker = "0.1"
|
2023-12-11 18:12:26 +00:00
|
|
|
pdf = "0.9"
|
2023-05-02 20:37:12 +00:00
|
|
|
|
|
|
|
# Needed by audio similarity feature
|
2024-02-14 16:45:25 +00:00
|
|
|
rusty-chromaprint = "0.2"
|
2023-05-07 18:54:05 +00:00
|
|
|
symphonia = { version = "0.5", features = ["all"] }
|
2021-02-03 18:59:06 +00:00
|
|
|
|
2021-11-23 10:10:24 +00:00
|
|
|
# Hashes for duplicate files
|
2023-10-05 06:06:47 +00:00
|
|
|
blake3 = "1.5"
|
2024-02-14 16:45:25 +00:00
|
|
|
crc32fast = "1.4"
|
2023-05-02 20:37:12 +00:00
|
|
|
xxhash-rust = { version = "0.8", features = ["xxh3"] }
|
2021-02-05 18:07:20 +00:00
|
|
|
|
2024-02-14 16:45:25 +00:00
|
|
|
tempfile = "3.10"
|
2021-02-11 18:04:23 +00:00
|
|
|
|
2022-10-22 18:43:06 +00:00
|
|
|
# Video Duplicates
|
2023-05-02 20:37:12 +00:00
|
|
|
vid_dup_finder_lib = "0.1"
|
|
|
|
ffmpeg_cmdline_utils = "0.1"
|
2021-12-05 20:01:16 +00:00
|
|
|
|
|
|
|
# Saving/Loading Cache
|
2022-12-21 07:44:26 +00:00
|
|
|
serde = "1.0"
|
2023-05-02 20:37:12 +00:00
|
|
|
bincode = "1.3"
|
2022-12-21 07:44:26 +00:00
|
|
|
serde_json = "1.0"
|
2021-12-05 17:34:12 +00:00
|
|
|
|
2021-12-11 15:16:14 +00:00
|
|
|
# Language
|
2023-10-05 06:06:47 +00:00
|
|
|
i18n-embed = { version = "0.14", features = ["fluent-system", "desktop-requester"] }
|
2024-02-14 16:45:25 +00:00
|
|
|
i18n-embed-fl = "0.8"
|
2024-01-13 12:57:51 +00:00
|
|
|
rust-embed = { version = "8.2", features = ["debug-embed"] }
|
2023-12-11 18:12:26 +00:00
|
|
|
once_cell = "1.19"
|
2021-11-23 10:10:24 +00:00
|
|
|
|
2021-12-31 21:34:24 +00:00
|
|
|
# Raw image files
|
2023-05-02 20:37:12 +00:00
|
|
|
rawloader = "0.37"
|
|
|
|
imagepipe = "0.5"
|
2023-12-03 11:06:42 +00:00
|
|
|
libraw-rs = { version = "0.0.4", optional = true }
|
2021-12-31 21:34:24 +00:00
|
|
|
|
2022-04-22 19:46:33 +00:00
|
|
|
# Checking for invalid extensions
|
2023-05-02 20:37:12 +00:00
|
|
|
mime_guess = "2.0"
|
2023-07-10 06:36:03 +00:00
|
|
|
infer = "0.15"
|
2022-06-08 19:42:51 +00:00
|
|
|
|
2022-07-24 18:48:02 +00:00
|
|
|
# Heif/Heic
|
2023-06-09 20:11:47 +00:00
|
|
|
libheif-rs = { version = "=0.18.0", optional = true } # Do not upgrade now, since Ubuntu 22.04 not works with newer version
|
2023-12-03 11:06:42 +00:00
|
|
|
libheif-sys = { version = "=1.14.2", optional = true } # 1.14.3 brake compilation on Ubuntu 22.04, so pin it to this version
|
2023-05-07 18:54:05 +00:00
|
|
|
anyhow = { version = "1.0" }
|
2022-06-08 19:42:51 +00:00
|
|
|
|
2023-12-03 11:06:42 +00:00
|
|
|
|
2023-06-09 20:11:47 +00:00
|
|
|
state = "0.6"
|
2024-02-14 16:45:25 +00:00
|
|
|
trash = "3.3"
|
2022-11-25 19:38:27 +00:00
|
|
|
|
2023-12-03 11:06:42 +00:00
|
|
|
os_info = { version = "3", default-features = false }
|
2023-10-05 06:06:47 +00:00
|
|
|
log = "0.4.20"
|
|
|
|
handsome_logger = "0.8"
|
2023-12-11 18:12:26 +00:00
|
|
|
fun_time = { version = "0.3", features = ["log"] }
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
rustc_version = "0.4"
|
2023-10-05 06:06:47 +00:00
|
|
|
|
2022-06-08 19:42:51 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2023-06-09 20:11:47 +00:00
|
|
|
heif = ["dep:libheif-rs", "dep:libheif-sys"]
|
2023-12-11 18:12:26 +00:00
|
|
|
libraw = ["dep:libraw-rs"]
|