From 0b673f2f0184efa0111c4978a2a4159598dee7a6 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 7 Jan 2020 15:17:16 +0000 Subject: Remove argparse dependency As we have replaced argparse with structopt, we no longer need it as a dependency. This patch removes the dependency from Cargo.toml and deletes the included copy. Delete subrepo argparse/:argparse --- nitrocli/CHANGELOG.md | 1 + nitrocli/Cargo.lock | 5 ----- nitrocli/Cargo.toml | 4 ---- 3 files changed, 1 insertion(+), 9 deletions(-) (limited to 'nitrocli') diff --git a/nitrocli/CHANGELOG.md b/nitrocli/CHANGELOG.md index 88bb101..66fe682 100644 --- a/nitrocli/CHANGELOG.md +++ b/nitrocli/CHANGELOG.md @@ -3,6 +3,7 @@ Unreleased - Reworked argument handling: - Added `structopt` dependency in version `0.3.7` - Replaced `argparse` with `structopt` + - Removed the `argparse` dependency 0.3.1 ----- diff --git a/nitrocli/Cargo.lock b/nitrocli/Cargo.lock index fc87abc..6760bb8 100644 --- a/nitrocli/Cargo.lock +++ b/nitrocli/Cargo.lock @@ -8,10 +8,6 @@ dependencies = [ "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "argparse" -version = "0.2.2" - [[package]] name = "base32" version = "0.4.0" @@ -70,7 +66,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "nitrocli" version = "0.3.1" dependencies = [ - "argparse 0.2.2", "base32 0.4.0", "libc 0.2.66", "nitrokey 0.4.0", diff --git a/nitrocli/Cargo.toml b/nitrocli/Cargo.toml index 2d5f484..8127f7a 100644 --- a/nitrocli/Cargo.toml +++ b/nitrocli/Cargo.toml @@ -42,9 +42,6 @@ lto = true codegen-units = 1 incremental = false -[dependencies.argparse] -version = "0.2.2" - [dependencies.base32] version = "0.4.0" path = "../base32" @@ -69,7 +66,6 @@ version = "0.1" version = "1" [patch.crates-io] -argparse = { path = "../argparse" } base32 = { path = "../base32" } bitflags = { path = "../bitflags" } cc = { path = "../cc" } -- cgit v1.2.1