From d62b1610405d5f02b8725862fd4a4f1368bd684b Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 14 Oct 2021 11:48:14 +0200 Subject: [PATCH] Remove some dependencies --- Cargo.lock | 30 ------------------------------ Cargo.toml | 4 +--- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 111650a..308dfbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,12 +28,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6df5aef5c5830360ce5218cecb8f018af3438af5686ae945094affc86fdec63" -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "async-trait" version = "0.1.51" @@ -62,12 +56,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" -[[package]] -name = "base64" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" - [[package]] name = "bitflags" version = "1.3.2" @@ -308,28 +296,12 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -[[package]] -name = "hexdump" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e40283dadb02f3af778878be1d717b17b4e4ab92e1d935ab03a730b0542905f2" -dependencies = [ - "arrayvec", - "itertools", -] - [[package]] name = "humantime" version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" -[[package]] -name = "itertools" -version = "0.4.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a9b56eb56058f43dc66e58f40a214b2ccbc9f3df51861b63d51dec7b65bc3f" - [[package]] name = "kuska-handshake" version = "0.2.0" @@ -429,14 +401,12 @@ version = "0.3.0" dependencies = [ "arc-swap", "async-trait", - "base64", "bytes 0.6.0", "chrono", "env_logger", "err-derive", "futures", "hex", - "hexdump", "kuska-handshake", "kuska-sodiumoxide", "log", diff --git a/Cargo.toml b/Cargo.toml index 10614e2..9bcd88b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,13 +27,10 @@ tokio-stream = "0.1.7" serde = { version = "1.0", default-features = false, features = ["derive"] } rmp-serde = "0.14.3" hex = "0.4.2" -base64 = "0.12.1" -hexdump = "0.1.1" rand = { version = "0.5.5", optional = true } log = "0.4.8" -env_logger = "0.8" arc-swap = "1.1" async-trait = "0.1.7" err-derive = "0.2.3" @@ -44,6 +41,7 @@ sodiumoxide = { version = "0.2.5-0", package = "kuska-sodiumoxide" } kuska-handshake = { version = "0.2.0", git = "https://github.com/Alexis211/handshake", branch = "tokio1.0", features = ["default", "async_std"] } [dev-dependencies] +env_logger = "0.8" structopt = { version = "0.3", default-features = false } chrono = "0.4"