From b44c774edb8efaaed9f9826703fc61e60f44d0ff Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 19 Sep 2023 18:48:15 -0700 Subject: [PATCH] remove some unused features --- Cargo.lock | 59 ------------------------------------ deduped_broadcast/Cargo.toml | 2 +- web3_proxy/Cargo.toml | 6 ++-- 3 files changed, 4 insertions(+), 63 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fdd5c578..23a25385 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -226,19 +226,6 @@ dependencies = [ "futures-core", ] -[[package]] -name = "async-compression" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb42b2197bf15ccb092b62c74515dbd8b86d0effd934795f6687c93b6e679a2c" -dependencies = [ - "flate2", - "futures-core", - "memchr", - "pin-project-lite", - "tokio", -] - [[package]] name = "async-lock" version = "2.8.0" @@ -1452,12 +1439,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" -[[package]] -name = "dyn-clone" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d2f3407d9a573d666de4b5bdf10569d73ca9478087346697dcbae6244bfbcd" - [[package]] name = "ecdsa" version = "0.16.8" @@ -2838,10 +2819,6 @@ name = "ipnet" version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" -dependencies = [ - "schemars", - "serde", -] [[package]] name = "iri-string" @@ -4336,7 +4313,6 @@ version = "0.11.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e9ad3fe7488d7e34558a2033d45a0c90b72d97b4f80705666fea71472e2e6a1" dependencies = [ - "async-compression", "base64 0.21.4", "bytes", "encoding_rs", @@ -4693,30 +4669,6 @@ dependencies = [ "windows-sys", ] -[[package]] -name = "schemars" -version = "0.8.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f7b0ce13155372a76ee2e1c5ffba1fe61ede73fbea5630d61eee6fac4929c0c" -dependencies = [ - "dyn-clone", - "schemars_derive", - "serde", - "serde_json", -] - -[[package]] -name = "schemars_derive" -version = "0.8.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e85e2a16b12bdb763244c69ab79363d71db2b4b918a2def53f80b02e0574b13c" -dependencies = [ - "proc-macro2", - "quote", - "serde_derive_internals", - "syn 1.0.109", -] - [[package]] name = "scopeguard" version = "1.2.0" @@ -5118,17 +5070,6 @@ dependencies = [ "syn 2.0.37", ] -[[package]] -name = "serde_derive_internals" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "serde_json" version = "1.0.107" diff --git a/deduped_broadcast/Cargo.toml b/deduped_broadcast/Cargo.toml index 18e2c01f..7d7dc918 100644 --- a/deduped_broadcast/Cargo.toml +++ b/deduped_broadcast/Cargo.toml @@ -7,6 +7,6 @@ edition = "2021" [dependencies] tracing = "0.1" -lru = { version = "0.11.0" } +lru = { version = "0.11.1" } serde = "1" tokio = { version = "1.32.0", features = ["full"] } diff --git a/web3_proxy/Cargo.toml b/web3_proxy/Cargo.toml index fe79fb85..0042b793 100644 --- a/web3_proxy/Cargo.toml +++ b/web3_proxy/Cargo.toml @@ -61,7 +61,7 @@ hdrhistogram = "7.5.2" hostname = "0.3.1" http = "0.2.9" hyper = { version = "0.14.27", features = ["full", "nightly"] } -ipnet = { version = "2.8.0", features = ["json"] } +ipnet = { version = "2.8.0" } itertools = "0.11.0" listenfd = "1.0.1" mimalloc = { version = "0.1.39", optional = true} @@ -75,9 +75,9 @@ pagerduty-rs = { version = "0.1.6", default-features = false, features = ["async parking_lot = { version = "0.12.1", features = ["arc_lock", "nightly"] } rdkafka = { version = "0.34.0", features = ["tracing"] } regex = "1.9.5" -reqwest = { version = "0.11.20", default-features = false, features = ["deflate", "gzip", "json", "tokio-rustls"] } +reqwest = { version = "0.11.20", default-features = false, features = ["json", "tokio-rustls"] } rmp-serde = "1.1.2" -rust_decimal = { version = "1.32.0", features = ["maths"] } +rust_decimal = { version = "1.32.0" } sentry = { version = "0.31.7", default-features = false, features = ["anyhow", "backtrace", "contexts", "panic", "reqwest", "rustls", "serde_json", "tracing"] } sentry-tracing = "0.31.7" serde = { version = "1.0.188" }