Drop more dependencies

This commit is contained in:
Christian Kamm 2023-03-21 12:12:03 +01:00
parent d2590c9174
commit 0e406af7f3
3 changed files with 2 additions and 54 deletions

40
Cargo.lock generated
View File

@ -417,37 +417,16 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f61305cacf1d0c5c9d3ee283d22f8f1f8c743a18ceb44a1b102bd53476c141de"
[[package]]
name = "async-stream"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22068c0c19514942eefcfd4daf8976ef1aad84e61539f95cd200c35202f80af5"
dependencies = [
"async-stream-impl 0.2.1",
"futures-core",
]
[[package]]
name = "async-stream"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dad5c83079eae9969be7fadefe640a1c566901f05ff91ab221de4b6f68d9507e"
dependencies = [
"async-stream-impl 0.3.3",
"async-stream-impl",
"futures-core",
]
[[package]]
name = "async-stream-impl"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25f9db3b38af870bf7e5cc649167533b493928e50744e2c30ae350230b414670"
dependencies = [
"proc-macro2 1.0.50",
"quote 1.0.23",
"syn 1.0.107",
]
[[package]]
name = "async-stream-impl"
version = "0.3.3"
@ -3046,27 +3025,15 @@ name = "mango-feeds-connector"
version = "0.1.0"
dependencies = [
"anyhow",
"arrayref",
"async-channel",
"async-stream 0.2.1",
"async-trait",
"base64 0.21.0",
"bs58 0.4.0",
"bytemuck",
"bytes 1.4.0",
"chrono",
"futures 0.3.26",
"futures-core",
"futures-util",
"itertools 0.10.5",
"jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core-client",
"log 0.4.17",
"rand 0.7.3",
"rustls",
"serde",
"serde_derive",
"serde_json",
"solana-account-decoder",
"solana-client",
"solana-rpc",
@ -3083,9 +3050,7 @@ version = "0.1.0"
dependencies = [
"anchor-lang",
"anyhow",
"arrayref",
"async-channel",
"async-stream 0.2.1",
"async-trait",
"base64 0.21.0",
"bs58 0.4.0",
@ -3095,7 +3060,6 @@ dependencies = [
"fixed",
"futures 0.3.26",
"futures-core",
"futures-util",
"itertools 0.10.5",
"jsonrpc-core 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"jsonrpc-core-client",
@ -7409,7 +7373,7 @@ version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f219fad3b929bef19b1f86fbc0358d35daed8f2cac972037ac0dc10bbb8d5fb"
dependencies = [
"async-stream 0.3.3",
"async-stream",
"async-trait",
"axum",
"base64 0.13.1",

View File

@ -16,32 +16,19 @@ solana-client = "~1.14.9"
solana-account-decoder = "~1.14.9"
solana-sdk = "~1.14.9"
arrayref = "*"
bytemuck = "*"
tokio = { version = "1", features = ["full"] }
rustls = "0.20.8"
serde = "1.0.130"
serde_derive = "1.0.130"
serde_json = "1.0.68"
tonic = "0.8"
bs58 = "*"
base64 = "*"
log = "0.4"
rand = "0.7"
anyhow = "1.0"
bytes = "1.0"
itertools = "0.10.5"
chrono = "0.4.23"
futures = "0.3.17"
futures-core = "0.3"
futures-util = "0.3"
async-stream = "0.2"
async-channel = "1.6"
async-trait = "0.1"

View File

@ -19,7 +19,6 @@ solana-account-decoder = "~1.14.9"
solana-sdk = "~1.14.9"
mango-v4 = { git = "https://github.com/blockworks-foundation/mango-v4", branch = "dev", features = ["client"] }
arrayref = "*"
bytemuck = "*"
fixed = { version = "*", features = ["serde"] }
@ -48,9 +47,7 @@ chrono = "0.4.23"
futures = "0.3.17"
futures-core = "0.3"
futures-util = "0.3"
async-stream = "0.2"
async-channel = "1.6"
async-trait = "0.1"