forked from jito-foundation/jito-relayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
96 lines (91 loc) · 4.57 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[workspace]
members = [
"block_engine",
"core",
"jito-protos",
# "packet_blaster", // TODO (LB): fix
"relayer",
"rpc",
"transaction-relayer",
"web"
]
resolver = "1"
[workspace.package]
version = "0.2.0"
authors = ["Jito Network <support@jito.network>"]
repository = "https://github.com/jito-foundation/jito-relayer"
homepage = "https://jito.network/"
license = "Apache-2.0"
edition = "2021"
[patch.crates-io]
solana-sdk = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-program = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
[workspace.dependencies]
axum = "0.5.17"
bincode = "1.3.3"
bytes = "1.4.0"
cached = "0.42.0"
chrono = "0.4.24"
clap = { version = "4", features = ["derive", "env"] }
crossbeam-channel = "0.5.8"
dashmap = "5.4.0"
duckdb = { version = "1.0.0", features = ["bundled"] }
ed25519-dalek = "1.0.1"
env_logger = "0.9"
futures-util = "0.3"
histogram = "0.6.9"
hostname = "0.3"
itertools = "0.10.5"
jito-block-engine = { path = "block_engine", version = "=0.2.0" }
jito-core = { path = "core", version = "=0.2.0" }
jito-protos = { path = "jito-protos", version = "=0.2.0" }
jito-relayer = { path = "relayer", version = "=0.2.0" }
jito-relayer-web = { path = "web", version = "=0.2.0" }
jito-rpc = { path = "rpc", version = "=0.2.0" }
jwt = { version = "0.16.0", features = ["openssl"] }
keyed_priority_queue = "0.4.1"
lazy_static = "1.4.0"
log = "0.4.17"
once_cell = "1"
openssl = "0.10.51"
prost = "0.12.1"
prost-types = "0.12.1"
protobuf-src = "1.1.0"
quinn = "0.9"
rand = "0.8.5"
rayon = "1.7.0"
rustls = { version = "0.20", features = ["dangerous_configuration"] }
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
serde_yaml = "0.9.32"
sha2 = "0.10.6"
solana-address-lookup-table-program = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-client = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-core = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-cost-model = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-gossip = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-measure = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-metrics = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-net-utils = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-perf = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-program = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-program-runtime = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-rayon-threadlimit = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-runtime = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-sdk = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-transaction-tracing = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-streamer = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
solana-validator = { git = "https://github.com/helius-labs/jito-solana.git", rev= "a9f617a0eb718395f48be88bf341833020626fe5"}
thiserror = "1.0.40"
tikv-jemallocator = { version = "0.4", features = ["profiling"] }
tokio = { version = "1.29.1", features = ["full"] }
tokio-stream = "0.1.12"
tonic = { version = "0.10.2", features = ["tls", "tls-roots", "tls-webpki-roots"] }
tonic-build = "0.10.2"
tower = { version = "0.4.1", features = ["limit"] }
[profile.release]
# thin has minimal overhead vs none (default): https://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html
lto = "thin"
# enable debug symbols for profiling the heap using jeprof
# example: jeprof --web target/release/jito-transaction-relayer jeprof.3085546.9823.i24.heap
#debug = true