From 558c7fee31c1c675d060a0fafea3acba84d20ec5 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 23 May 2020 21:49:37 -0400 Subject: remove unnecessary explicit dependency --- Cargo.lock | 1 - Cargo.toml | 3 +-- src/bin/rbw/main.rs | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 52111b0..2ea6e96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1125,7 +1125,6 @@ dependencies = [ "base64 0.12.1", "block-modes", "chbs", - "clap", "daemonize", "directories", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index e54cb2d..97fb3b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,6 @@ async-trait = "0.1" base64 = "0.12" block-modes = "0.3" chbs = "0.0.10" -clap = { version = "2.33", features = ["wrap_help"] } daemonize = "0.4" directories = "2.0" env_logger = "0.7" @@ -37,7 +36,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_path_to_error = "0.1" snafu = "0.6" -structopt = { version = "0.3", features = ["paw"] } +structopt = { version = "0.3", features = ["paw", "wrap_help"] } tempfile = "3.1" tokio = { version = "0.2", features = ["full"] } uuid = { version = "0.8", features = ["v4"] } diff --git a/src/bin/rbw/main.rs b/src/bin/rbw/main.rs index 561d20b..96eaad0 100644 --- a/src/bin/rbw/main.rs +++ b/src/bin/rbw/main.rs @@ -85,7 +85,7 @@ enum Opt { If given a password entry name, also save the generated \ password to the database.", visible_alias = "gen", - group = clap::ArgGroup::with_name("password-type").args(&[ + group = structopt::clap::ArgGroup::with_name("password-type").args(&[ "no-symbols", "only-numbers", "nonconfusables", -- cgit v1.2.3-54-g00ecf