aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-07 15:17:16 +0000
committerDaniel Mueller <deso@posteo.net>2020-01-07 15:17:16 +0000
commit77921f888f3106e961e1936fd6a42a9625efe6bf (patch)
tree2c39cd457f1455a9089ad42d4b471343112485d2
parentc1f35ab538dbdf3002a6a9aa0932ada687160787 (diff)
downloadnitrocli-77921f888f3106e961e1936fd6a42a9625efe6bf.tar.gz
nitrocli-77921f888f3106e961e1936fd6a42a9625efe6bf.tar.bz2
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.
-rw-r--r--CHANGELOG.md1
-rw-r--r--Cargo.lock7
-rw-r--r--Cargo.toml3
3 files changed, 1 insertions, 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
@@ -9,11 +9,6 @@ dependencies = [
]
[[package]]
-name = "argparse"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[[package]]
name = "base32"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -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"