Skip to content

Commit

Permalink
feat(cli): 💄 added progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 committed Jul 4, 2024
1 parent 1f6c519 commit 398e504
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 47 deletions.
79 changes: 79 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ required-features = ["build-binary"]
default = ["resize", "quantization", "mozjpeg", "oxipng", "webp", "avif", "threads", "metadata"]

# Used for binary
build-binary = ["dep:anyhow", "dep:clap", "dep:indoc", "dep:rayon", "dep:pretty_env_logger", "dep:zune-imageprocs", "dep:glob", "zune-image/default"]
build-binary = ["dep:anyhow", "dep:clap", "dep:indoc", "dep:rayon", "dep:pretty_env_logger", "dep:zune-imageprocs", "dep:glob", "zune-image/default", "dep:indicatif", "dep:indicatif-log-bridge", "dep:console"]

# Enables utilization of threads
threads = ["imagequant?/threads", "mozjpeg?/parallel", "oxipng?/parallel"]
Expand All @@ -48,6 +48,7 @@ webp = ["dep:webp"]
# Enables avif codec
avif = ["dep:ravif", "dep:libavif", "dep:rgb"]
icc = ["dep:lcms2"]
console = ["dep:console"]

[dependencies]
zune-core = "0.5.0-rc1"
Expand All @@ -71,6 +72,9 @@ pretty_env_logger = { version = "0.5.0", optional = true }
rayon = { version = "1.10.0", optional = true }
zune-imageprocs = { version = "0.5.0-rc0", features = ["exif"], optional = true }
kamadak-exif = { version = "0.5.5", optional = true }
indicatif = { version = "0.17.8", features = ["rayon"], optional = true }
indicatif-log-bridge = { version = "0.2.2", optional = true}
console = { version = "0.15.8", optional = true }

[target.'cfg(windows)'.dependencies]
glob = { version = "0.3.1", optional = true }
Expand Down
Loading

0 comments on commit 398e504

Please sign in to comment.