aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock1
-rw-r--r--Cargo.toml1
-rw-r--r--src/main.rs2
-rw-r--r--tests/cli.rs2
4 files changed, 2 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 75d26da..c9be0f0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1418,7 +1418,6 @@ dependencies = [
"bytesize 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)",
"chrono-humanize 0.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
- "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)",
"hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/Cargo.toml b/Cargo.toml
index 99b023e..e5f363a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,7 +21,6 @@ codegen-units = 1
panic = 'abort'
[dependencies]
-clap = "2.29"
yansi = "0.5"
actix = "0.7"
actix-web = "0.7"
diff --git a/src/main.rs b/src/main.rs
index dc98df0..a1217d0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,7 +2,7 @@
use actix_web::http::{Method, StatusCode};
use actix_web::{fs, middleware, server, App, HttpRequest, HttpResponse};
-use clap::crate_version;
+use structopt::clap::crate_version;
use simplelog::{Config, LevelFilter, TermLogger, TerminalMode};
use std::io::{self, Write};
use std::net::{IpAddr, Ipv4Addr, SocketAddr};
diff --git a/tests/cli.rs b/tests/cli.rs
index d5df06b..5bd7d96 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -1,7 +1,7 @@
mod fixtures;
use assert_cmd::prelude::*;
-use clap::{crate_name, crate_version};
+use structopt::clap::{crate_name, crate_version};
use fixtures::Error;
use std::process::Command;