Skip to content

Commit a29531d

Browse files
committed
Cleaning dependencies
1 parent 29416f0 commit a29531d

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

Cargo.lock

Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exclude = ["/.semaphore", "/data", "/release.sh", ".*"]
1515
[dependencies]
1616

1717
# CLI & utilities
18-
clap = { version = "3", default-features = false, features = ["std", "suggestions", "color"] }
18+
clap = { version = "3.1", default-features = false, features = ["std", "suggestions", "color"] }
1919
ansi_term = "0.12"
2020
rand = "0.8"
2121
ctrlc = "3.2"
@@ -27,6 +27,6 @@ dns-lookup = "1.0"
2727

2828
# Parsing & exports
2929
csv = "1.1"
30-
serde = { version = "1.0.126", features = ["derive"] }
31-
serde_json = "1.0.64"
32-
serde_yaml = "~0.8.17"
30+
serde = { version = "1.0", features = ["derive"] }
31+
serde_json = "1.0"
32+
serde_yaml = "0.8"

src/args.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::sync::Arc;
55
use std::path::Path;
66
use std::fs;
77

8-
use clap::{Arg, ArgMatches, App};
8+
use clap::{Arg, ArgMatches, Command};
99
use ipnetwork::IpNetwork;
1010
use pnet::datalink::MacAddr;
1111
use pnet::packet::arp::{ArpHardwareType, ArpOperation};
@@ -41,9 +41,9 @@ const EXAMPLES_HELP: &str = "EXAMPLES:
4141
* This function groups together all exposed CLI arguments to the end-users
4242
* with clap. Other CLI details (version, ...) should be grouped there as well.
4343
*/
44-
pub fn build_args<'a>() -> App<'a> {
44+
pub fn build_args<'a>() -> Command<'a> {
4545

46-
App::new("arp-scan")
46+
Command::new("arp-scan")
4747
.version(CLI_VERSION)
4848
.about("A minimalistic ARP scan tool written in Rust")
4949
.arg(

0 commit comments

Comments
 (0)