Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies to latest versions #35

Open
wants to merge 2 commits into
base: uwu
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 114 additions & 51 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ keywords = ["SIMD", "uwu", "owo", "cli"]
categories = ["algorithms", "hardware-support", "text-processing", "command-line-utilities"]

[dependencies]
clap = { version = "^2.33", optional = true }
owo-colors = { version = "1.3", optional = true }
clap = { version = "3.1", optional = true }
owo-colors = { version = "3.2", optional = true }
thiserror = { version = "1", optional = true }
parking_lot = "^0.11"
parking_lot = "0.12"

[features]
default = ["bin"]
Expand Down
16 changes: 8 additions & 8 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use uwuifier::uwuify_sse;

use clap::{App, Arg, ArgMatches};
use clap::{Command, Arg, ArgMatches};

use parking_lot::Mutex;

Expand All @@ -23,26 +23,26 @@ mod error;
use error::{Error, Result};

fn main() {
let matches = App::new("uwu")
let matches = Command::new("uwu")
.about("fastest text uwuifier in the west")
.arg(Arg::with_name("INPUT")
.arg(Arg::new("INPUT")
.help("input text file")
.default_value("-")
.index(1))
.arg(Arg::with_name("OUTPUT")
.arg(Arg::new("OUTPUT")
.help("output text file")
.default_value("-")
.index(2))
.arg(Arg::with_name("threads")
.arg(Arg::new("threads")
.help("number of threads")
.short("t")
.short('t')
.long("threads")
.value_name("THREADS")
.takes_value(true)
.default_value("1"))
.arg(Arg::with_name("verbose")
.arg(Arg::new("verbose")
.help("show verbose output, including run time and throughput")
.short("v")
.short('v')
.long("verbose"))
.get_matches();

Expand Down