From 77921f888f3106e961e1936fd6a42a9625efe6bf 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. --- CHANGELOG.md | 1 + Cargo.lock | 7 ------- Cargo.toml | 3 --- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 956cddb..0c1ea18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Unreleased - Reworked argument handling: - Added `structopt` dependency in version `0.3.7` - Replaced `argparse` with `structopt` + - Removed `argparse` dependency - Removed vendored dependencies and moved source code into repository root diff --git a/Cargo.lock b/Cargo.lock index 0f57b7a..9411478 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,11 +8,6 @@ dependencies = [ "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "argparse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" - [[package]] name = "base32" version = "0.4.0" @@ -80,7 +75,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "nitrocli" version = "0.3.1" dependencies = [ - "argparse 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "base32 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", "nitrokey 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -273,7 +267,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [metadata] "checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" -"checksum argparse 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3f8ebf5827e4ac4fd5946560e6a99776ea73b596d80898f357007317a7141e47" "checksum base32 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "23ce669cd6c8588f79e15cf450314f9638f967fc5770ff1c7c1deb0925ea7cfa" "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" "checksum cc 1.0.48 (registry+https://github.com/rust-lang/crates.io-index)" = "f52a465a666ca3d838ebbf08b241383421412fe7ebb463527bba275526d89f76" diff --git a/Cargo.toml b/Cargo.toml index cbb735f..972ebb0 100644 --- a/Cargo.toml +++ b/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" -- cgit v1.2.1