Concurently backing up the files pointed by stdin. Instead of having to spin up a whole picobak process for each and every picture we want to back up, we create a single process in charge of backing up the files using all cores. This massively improves the backup speed. We use rayon to concurently process the pictures.
19 lines
475 B
TOML
19 lines
475 B
TOML
[package]
|
|
name = "picobak"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = [ "Ninjatrappeur <ninjatrappeur@alternativebit.fr>" ]
|
|
license = "GPL-3.0"
|
|
repository = "https://git.alternativebit.fr/NinjaTrappeur/picobak"
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4.26", features = ["clock"] }
|
|
clap = { version = "4.3.24", features = ["derive"] }
|
|
indicatif = { version = "0.17.6", features = ["rayon"] }
|
|
kamadak-exif = "0.5.5"
|
|
rayon = "1.7.0"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = true
|