Skip to content

Commit c01a166

Browse files
committed
Version 1.0.1 (Update dependencies)
Include bug fix in zifu-core v0.1.1
1 parent 438e722 commit c01a166

File tree

3 files changed

+34
-29
lines changed

3 files changed

+34
-29
lines changed

Cargo.lock

+28-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zifu"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
authors = ["Tatsunori Uchino <tats.u@live.jp>"]
55
edition = "2018"
66
license = "MIT"
@@ -22,9 +22,9 @@ This tool automatically detects the encoding of the files in the ZIP archive and
2222

2323
[dependencies]
2424
ansi_term = "0.12.1"
25-
clap = "3.0.0-beta.4"
26-
anyhow = "1.0.44"
27-
thiserror = "1.0.29"
25+
clap = "3.0.0-beta.5"
26+
anyhow = "1.0.45"
27+
thiserror = "1.0.30"
2828
lazy_static = "1.4.0"
2929
atty = "^0.2"
3030
rand = {version = "0.8.4", features = ["std_rng"]}

src/bin/zifu.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use ansi_term::ANSIGenericString;
22
use anyhow::anyhow;
3-
use clap::{crate_authors, crate_description, crate_version, AppSettings, Clap};
3+
use clap::{crate_authors, crate_description, crate_version, Parser};
44
use filename_decoder::IDecoder;
55
use lazy_static::lazy_static;
66
use rand::rngs::StdRng;
@@ -131,9 +131,8 @@ fn ask_default_yes() -> Result<bool, std::io::Error> {
131131
return Ok(process_answer_default_yes(&ask_result));
132132
}
133133

134-
#[derive(Clap)]
134+
#[derive(Parser)]
135135
#[clap(name = "ZIP File Names to UTF-8 (ZIFU)", version = crate_version!(), author = crate_authors!(), about = crate_description!())]
136-
#[clap(setting = AppSettings::ColoredHelp)]
137136
struct CLIOptions {
138137
#[clap(
139138
about = "Path to the ZIP file where you want to change the encoding of the file name to UTF-8"

0 commit comments

Comments
 (0)