removes unused Cargo dependencies (#22022)

Also moving some to [dev-dependencies] so that they are not propagated
to other packages which depend on the package.
This commit is contained in:
behzad nouri
2021-12-22 17:01:33 +00:00
committed by GitHub
parent 61cc7b10a9
commit f67ecd5c18
23 changed files with 40 additions and 172 deletions

124
Cargo.lock generated
View File

@@ -214,12 +214,6 @@ version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b"
[[package]]
name = "base32"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23ce669cd6c8588f79e15cf450314f9638f967fc5770ff1c7c1deb0925ea7cfa"
[[package]]
name = "base64"
version = "0.9.3"
@@ -342,25 +336,13 @@ dependencies = [
"digest 0.9.0",
]
[[package]]
name = "block-buffer"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
dependencies = [
"block-padding 0.1.5",
"byte-tools",
"byteorder",
"generic-array 0.12.4",
]
[[package]]
name = "block-buffer"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
dependencies = [
"block-padding 0.2.1",
"block-padding",
"generic-array 0.14.4",
]
@@ -373,15 +355,6 @@ dependencies = [
"generic-array 0.14.4",
]
[[package]]
name = "block-padding"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
dependencies = [
"byte-tools",
]
[[package]]
name = "block-padding"
version = "0.2.1"
@@ -473,12 +446,6 @@ dependencies = [
"serde",
]
[[package]]
name = "byte-tools"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
[[package]]
name = "byte-unit"
version = "4.0.13"
@@ -1380,12 +1347,6 @@ dependencies = [
"synstructure",
]
[[package]]
name = "fake-simd"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
[[package]]
name = "fallible-iterator"
version = "0.2.0"
@@ -2257,21 +2218,6 @@ dependencies = [
"unicase 2.6.0",
]
[[package]]
name = "jsonrpc-ws-server"
version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f892c7d766369475ab7b0669f417906302d7c0fb521285c0a0c92e52e7c8e946"
dependencies = [
"futures 0.3.19",
"jsonrpc-core",
"jsonrpc-server-utils",
"log 0.4.14",
"parity-ws",
"parking_lot 0.11.2",
"slab",
]
[[package]]
name = "keccak"
version = "0.1.0"
@@ -2478,7 +2424,7 @@ checksum = "7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15"
dependencies = [
"block-buffer 0.9.0",
"digest 0.9.0",
"opaque-debug 0.3.0",
"opaque-debug",
]
[[package]]
@@ -2577,18 +2523,6 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "mio-extras"
version = "2.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19"
dependencies = [
"lazycell",
"log 0.4.14",
"mio 0.6.23",
"slab",
]
[[package]]
name = "miow"
version = "0.2.2"
@@ -2784,12 +2718,6 @@ version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56"
[[package]]
name = "opaque-debug"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
[[package]]
name = "opaque-debug"
version = "0.3.0"
@@ -2903,24 +2831,6 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "parity-ws"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5983d3929ad50f12c3eb9a6743f19d691866ecd44da74c0a3308c3f8a56df0c6"
dependencies = [
"byteorder",
"bytes 0.4.12",
"httparse",
"log 0.4.14",
"mio 0.6.23",
"mio-extras",
"rand 0.7.3",
"sha-1 0.8.2",
"slab",
"url 2.2.2",
]
[[package]]
name = "parking_lot"
version = "0.9.0"
@@ -4127,18 +4037,6 @@ dependencies = [
"syn 1.0.81",
]
[[package]]
name = "sha-1"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df"
dependencies = [
"block-buffer 0.7.3",
"digest 0.8.1",
"fake-simd",
"opaque-debug 0.2.3",
]
[[package]]
name = "sha-1"
version = "0.9.8"
@@ -4149,7 +4047,7 @@ dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
"digest 0.9.0",
"opaque-debug 0.3.0",
"opaque-debug",
]
[[package]]
@@ -4168,7 +4066,7 @@ dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
"digest 0.9.0",
"opaque-debug 0.3.0",
"opaque-debug",
]
[[package]]
@@ -4191,7 +4089,7 @@ dependencies = [
"block-buffer 0.9.0",
"digest 0.9.0",
"keccak",
"opaque-debug 0.3.0",
"opaque-debug",
]
[[package]]
@@ -4315,7 +4213,7 @@ dependencies = [
"httparse",
"log 0.4.14",
"rand 0.8.4",
"sha-1 0.9.8",
"sha-1",
]
[[package]]
@@ -4402,7 +4300,6 @@ dependencies = [
"serde_derive",
"serde_json",
"solana-accountsdb-plugin-interface",
"solana-logger 1.10.0",
"solana-measure",
"solana-metrics",
"solana-rpc",
@@ -4535,8 +4432,6 @@ name = "solana-bench-streamer"
version = "1.10.0"
dependencies = [
"clap 2.33.3",
"solana-clap-utils",
"solana-logger 1.10.0",
"solana-net-utils",
"solana-streamer",
"solana-version",
@@ -5189,7 +5084,6 @@ dependencies = [
"regex",
"serde",
"serde_json",
"serde_yaml",
"signal-hook",
"solana-clap-utils",
"solana-cli-output",
@@ -5323,7 +5217,6 @@ dependencies = [
"rand 0.7.3",
"serde",
"serde_json",
"solana-clap-utils",
"solana-logger 1.10.0",
]
@@ -5522,7 +5415,6 @@ dependencies = [
name = "solana-program-test"
version = "1.10.0"
dependencies = [
"assert_matches",
"async-trait",
"base64 0.12.3",
"bincode",
@@ -5553,7 +5445,6 @@ dependencies = [
name = "solana-remote-wallet"
version = "1.10.0"
dependencies = [
"base32",
"console",
"dialoguer",
"hidapi",
@@ -5629,7 +5520,6 @@ dependencies = [
"jsonrpc-derive",
"jsonrpc-http-server",
"jsonrpc-pubsub",
"jsonrpc-ws-server",
"libc",
"log 0.4.14",
"rayon",
@@ -7064,7 +6954,7 @@ dependencies = [
"log 0.4.14",
"rand 0.8.4",
"rustls 0.20.0",
"sha-1 0.9.8",
"sha-1",
"thiserror",
"url 2.2.2",
"utf-8",