-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/v0.1.4: Bump version from 0.1.3 to 0.1.4 fix: build errors Bump clap from 2.33.3 to 3.0.14 Bump actions/checkout from 2.3.5 to 2.4.0 Bump actions/checkout from 2.3.4 to 2.3.5 Bump indicatif from 0.16.0 to 0.16.2 Bump actions/checkout from 2 to 2.3.4
- Loading branch information
Showing
5 changed files
with
99 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[package] | ||
name = "wordlist-dedup" | ||
version = "0.1.3" | ||
version = "0.1.4" | ||
authors = ["Michael Sasser <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
license = "GPL-3.0+" | ||
keywords = ["deduplication", "wordlist"] | ||
publish = false | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
indicatif = "0.16.0" | ||
clap = "2.33.3" | ||
indicatif = "0.16.2" | ||
clap = { version = "3.0.14", features = ["cargo"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use clap::{crate_version, App, Arg}; | ||
use clap::{crate_name, crate_version, App, Arg}; | ||
use indicatif::{ProgressBar, ProgressStyle}; | ||
use std::ffi::OsStr; | ||
use std::fs::File; | ||
|
@@ -18,17 +18,17 @@ fn remove_extension_from_filename(filename: &str) -> Option<&str> { | |
} | ||
|
||
fn main() -> std::io::Result<()> { | ||
let matches = App::new("wordlist-dedup") | ||
let matches = App::new(crate_name!()) | ||
.version(crate_version!()) | ||
.author("Michael Sasser <[email protected]>") | ||
.about("Deduplicate presorted wordlists.") | ||
.arg( | ||
Arg::with_name("SRC") | ||
Arg::new("SRC") | ||
.required(true) | ||
.help("The presorted source file, wich may contains duplicated lines"), | ||
) | ||
.arg( | ||
Arg::with_name("DEST") | ||
Arg::new("DEST") | ||
.required(false) | ||
.help("The destination file, to write the deduplicated file to"), | ||
) | ||
|