From 3297dcb4eb0e26eeac7940ec7adcd64b8ee19fbc Mon Sep 17 00:00:00 2001 From: Caio Date: Sun, 29 Sep 2024 06:23:18 -0300 Subject: [PATCH] Remove unused dependencies (#11320) --- Cargo.lock | 55 ------------------------------------------------------ Cargo.toml | 6 +++--- 2 files changed, 3 insertions(+), 58 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6c1e6122028d..a9c3601f55f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1481,17 +1481,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "bstr" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" -dependencies = [ - "memchr", - "regex-automata 0.4.7", - "serde", -] - [[package]] name = "bumpalo" version = "3.16.0" @@ -2577,12 +2566,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" -[[package]] -name = "endian-type" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" - [[package]] name = "enr" version = "0.12.1" @@ -4694,16 +4677,12 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4259040465c955f9f2f1a4a8a16dc46726169bca0f88e8fb2dbeced487c3e828" dependencies = [ - "aho-corasick", "crossbeam-epoch", "crossbeam-utils", "hashbrown 0.14.5", - "indexmap 2.5.0", "metrics", "num_cpus", - "ordered-float", "quanta", - "radix_trie", "sketches-ddsketch", ] @@ -4876,15 +4855,6 @@ dependencies = [ "unsigned-varint", ] -[[package]] -name = "nibble_vec" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a5d83df9f36fe23f0c3648c6bbb8b0298bb5f1939c8f2704431371f4b84d43" -dependencies = [ - "smallvec", -] - [[package]] name = "nix" version = "0.26.4" @@ -5237,15 +5207,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" -[[package]] -name = "ordered-float" -version = "4.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a91171844676f8c7990ce64959210cd2eaef32c2612c50f9fae9f8aaa6065a6" -dependencies = [ - "num-traits", -] - [[package]] name = "overload" version = "0.1.1" @@ -5895,16 +5856,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "radix_trie" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c069c179fcdc6a2fe24d8d18305cf085fdbd4f922c041943e203685d6a1c58fd" -dependencies = [ - "endian-type", - "nibble_vec", -] - [[package]] name = "rand" version = "0.7.3" @@ -9812,8 +9763,6 @@ version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b4b487fe2acf240a021cf57c6b2b4903b1e78ca0ecd862a71b71d2a51fed77d" dependencies = [ - "futures", - "log", "once_cell", "parking_lot 0.12.3", "scc", @@ -9955,10 +9904,6 @@ name = "similar" version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e" -dependencies = [ - "bstr", - "unicode-segmentation", -] [[package]] name = "similar-asserts" diff --git a/Cargo.toml b/Cargo.toml index 7387029568d7..5beca0009b8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -519,7 +519,7 @@ zstd = "0.13" metrics = "0.23.0" metrics-exporter-prometheus = { version = "0.15.0", default-features = false } metrics-process = "2.1.0" -metrics-util = "0.17.0" +metrics-util = { default-features = false, version = "0.17.0" } # proc-macros proc-macro2 = "1.0" @@ -581,8 +581,8 @@ iai-callgrind = "0.11" pprof = "0.13" proptest = "1.4" proptest-derive = "0.5" -serial_test = "3" -similar-asserts = "1.5.0" +serial_test = { default-features = false, version = "3" } +similar-asserts = { default-features = false, version = "1.5.0" } tempfile = "3.8" test-fuzz = "5"