From 55a265b39bca9623112b4f9349d9d14f2cee57d7 Mon Sep 17 00:00:00 2001 From: Miguel de Elias Date: Thu, 8 Feb 2024 19:48:02 -0300 Subject: [PATCH] fix: removed unsued dependencies --- Cargo.lock | 102 +-------------------------------- availability-oracle/Cargo.toml | 2 - common/Cargo.toml | 3 - 3 files changed, 2 insertions(+), 105 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 85a5f55..2736f62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,54 +56,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "anstream" -version = "0.6.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" - -[[package]] -name = "anstyle-parse" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" -dependencies = [ - "windows-sys 0.52.0", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" -dependencies = [ - "anstyle", - "windows-sys 0.52.0", -] - [[package]] name = "anyhow" version = "1.0.79" @@ -203,7 +155,6 @@ version = "0.3.4" dependencies = [ "async-trait", "bytes", - "clap 4.5.0", "common", "ethabi", "ethers", @@ -217,7 +168,6 @@ dependencies = [ "serde_derive", "serde_json", "serde_yaml", - "slog", "structopt", "tiny-cid", "tokio", @@ -490,39 +440,12 @@ dependencies = [ "ansi_term", "atty", "bitflags 1.3.2", - "strsim 0.8.0", + "strsim", "textwrap", "unicode-width", "vec_map", ] -[[package]] -name = "clap" -version = "4.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80c21025abd42669a92efc996ef13cfb2c5c627858421ea58d5c3b331a6c134f" -dependencies = [ - "clap_builder", -] - -[[package]] -name = "clap_builder" -version = "4.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "458bf1f341769dfcf849846f65dffdf9146daa56bcd2a47cb4e1de9915567c99" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim 0.11.0", -] - -[[package]] -name = "clap_lex" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" - [[package]] name = "coins-bip32" version = "0.8.7" @@ -575,12 +498,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - [[package]] name = "combine" version = "3.8.1" @@ -605,9 +522,6 @@ dependencies = [ "lazy_static", "never", "prometheus", - "secp256k1", - "serde", - "serde_json", "slog", "slog-async", "slog-term", @@ -3503,19 +3417,13 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" -[[package]] -name = "strsim" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" - [[package]] name = "structopt" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" dependencies = [ - "clap 2.34.0", + "clap", "lazy_static", "structopt-derive", ] @@ -4144,12 +4052,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" -[[package]] -name = "utf8parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" - [[package]] name = "uuid" version = "0.8.2" diff --git a/availability-oracle/Cargo.toml b/availability-oracle/Cargo.toml index 5c43ff8..9f85a31 100644 --- a/availability-oracle/Cargo.toml +++ b/availability-oracle/Cargo.toml @@ -17,10 +17,8 @@ serde = "1.0.196" serde_json = "1.0.113" tiny-cid = "0.3" bytes = "1.0" -clap = "4.5.0" structopt = "0.3.18" hex = "0.4.2" -slog = { version = "2.5.2", features = ["release_max_level_trace", "max_level_trace"] } ethabi = "18.0.0" wasmparser = "0.74.0" multibase = "0.8.0" diff --git a/common/Cargo.toml b/common/Cargo.toml index 1d7c07b..eb3a21e 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -18,8 +18,5 @@ prometheus = "0.13.3" tokio = { version="1.10", features=["sync", "time", "rt-multi-thread"] } structopt = "0.3.14" never = "0.1.0" -secp256k1 = "0.28.2" lazy_static = "1.4.0" blake3 = "1.5.0" -serde_json = "1.0.113" -serde = { version = "1.0.196", features = ["derive"] }