-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
66 lines (49 loc) · 1.92 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "mango-v4-arbi-bot"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "arbi-bot"
path = "src/main.rs"
[dependencies]
solana-client = "~1.16.14"
solana-logger = "~1.16.14"
solana-sdk = "~1.16.14"
# prevent 0.29.0 induced by serum-dex
anchor-lang = "=0.28.0"
anchor-client = "=0.28.0"
mango-feeds-connector = "0.2.0"
# required for mango_v4::state::*
mango-v4 = { git = "https://github.com/blockworks-foundation/mango-v4.git", features = ["client"], branch = "release/program-v0.20" }
mango-v4-client = { git = "https://github.com/blockworks-foundation/mango-v4.git", branch = "release/program-v0.20" }
# note: we use a patched version of serum-dex to expose iterators - the mango program still uses the version 0.5.10+updates (commit c85e56d)
# 'groovie/v0.5.10-updates-expose-things' is a merge between https://github.com/jup-ag/openbook-program/tree/feat/expose-things and commit c85e56d
serum_dex = { git = "https://github.com/grooviegermanikus/program.git", branch = "groovie/v0.5.10-updates-expose-things" }
fixed = { git = "https://github.com/blockworks-foundation/fixed.git", branch = "v1.11.0-borsh0_10-mango" }
clap = { version = "3.1.8", features = ["derive", "env"] }
bs58 = "0.3.1"
log = "0.4"
env_logger = "0.9.0"
anyhow = "1.0"
toml = "0.5"
ordered-float = "4.1.1"
reqwest = { version = "0.11", features = ["json"] }
serde = "1.0.130"
serde_derive = "1.0.130"
serde_json = "1.0.68"
futures = "0.3"
futures-channel = "0.3"
futures-util = "0.3"
url = "2.3"
chrono = "0.4"
ws = "^0.9.2"
async-channel = "1.6"
async-trait = "0.1"
bytemuck = "^1.7.2"
itertools = "0.10.3"
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = "0.17"
websocket-tungstenite-retry = { git = "https://github.com/grooviegermanikus/websocket-tungstenite-retry.git", tag = "0.7.0" }
[patch.crates-io]
# for gzip encoded responses
jsonrpc-core-client = { git = "https://github.com/ckamm/jsonrpc.git", branch = "ckamm/http-with-gzip" }