Skip to content

Commit 3b51004

Browse files
committed
chore: organize deps
1 parent a430878 commit 3b51004

File tree

5 files changed

+135
-128
lines changed

5 files changed

+135
-128
lines changed

Cargo.toml

Lines changed: 54 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[workspace]
2+
resolver = "2"
23
members = [
3-
"apps/jet",
4-
"crates/tpu-client",
4+
"apps/jet", # 14.9.2
5+
"crates/tpu-client", # 0.3.0
56
]
67
exclude = [
7-
"examples/jet-tpu-sender",
8+
"examples/jet-tpu-sender", # 0.1.0
89
]
9-
resolver = "2"
1010

1111
[workspace.package]
1212
authors = ["Triton One"]
@@ -22,93 +22,95 @@ anyhow = "1.0.100"
2222
async-trait = "0.1.89"
2323
base64 = "0.22.1"
2424
bincode = "1.3.3"
25-
bs58 = "0.5.1"
2625
borsh = "1.5.7"
26+
bs58 = "0.5.1"
2727
bytes = "1.11.1"
28+
cargo-lock = "10.0.1"
2829
clap = "4.5.51"
2930
derive_more = "2.0.1"
3031
dotenvy = "0.15.0"
3132
futures = "0.3.31"
33+
git-version = "0.3.9"
3234
hostname = "0.4.1"
3335
http-body-util = "0.1.3"
3436
humantime-serde = "1.1.1"
3537
hyper = "1.7.0"
3638
hyper-util = "0.1.5"
3739
jsonrpsee = "0.26.0"
3840
lazy_static = "1.5.0"
41+
libc = "0.2.177"
3942
maplit = "1.0.2"
4043
pin-project = "1.1.5"
4144
prometheus = "0.14.0"
4245
prost = "0.14.0"
4346
prost-types = "0.14.0"
47+
protobuf-src = "1.1.0"
4448
quinn = "0.11.6"
4549
quinn-proto = "0.11.6"
4650
rand = "0.9.2"
51+
reqwest = "0.12.24"
52+
retry = "2.1.0"
4753
rustls = { version = "0.23.35", default-features = false }
4854
semver = "1.0.22"
4955
serde = "1.0.215"
5056
serde_json = "1.0.116"
5157
serde_yaml = "0.9.25"
58+
thiserror = "2.0.17"
59+
tikv-jemallocator = "0.6.1"
60+
tokio = "1.48.0"
61+
tokio-stream = "0.1.15"
62+
tokio-util = "0.7.16"
63+
tonic = "0.14.0"
64+
tonic-build = "0.14.0"
65+
tonic-health = "0.14.0"
66+
tonic-prost = "0.14.0"
67+
tonic-prost-build = "0.14.0"
68+
tower = "0.5.0"
69+
tracing = "0.1.40"
70+
tracing-subscriber = "0.3.1"
71+
uuid = "1.11.0"
72+
vergen = "9.0.1"
5273

53-
# Agave Crates
74+
# Agave Monorepo
75+
solana-bincode = "3.0.0"
5476
solana-client = "3.0.0"
5577
solana-net-utils = "3.0.0"
78+
solana-rpc-client = "3.0.0"
5679
solana-rpc-client-api = "3.0.0"
5780
solana-streamer = "3.0.6"
58-
solana-version = "3.0.0"
59-
solana-rpc-client = "3.0.0"
60-
solana-transaction-status-client-types = "3.0.0"
6181
solana-system-interface = "3.0.0"
62-
solana-bincode = "3.0.0"
6382
solana-tls-utils = "3.0.0"
64-
# --> Anza - Solana SDK (decoupled from agave)
65-
solana-program = "3.0.0"
66-
solana-instruction = "3.0.0"
67-
solana-pubkey = "3.0.0"
68-
solana-keypair = "3.0.0"
83+
solana-transaction-status-client-types = "3.0.0"
84+
solana-version = "3.0.0"
85+
86+
# Solana SDK
6987
solana-account = "3.0.0"
7088
solana-clock = "3.0.0"
71-
solana-hash = "3.0.0"
89+
solana-commitment-config = "3.0.0"
90+
solana-compute-budget-interface = "3.0.0"
91+
solana-epoch-info = "3.0.0"
7292
solana-epoch-schedule = "3.0.0"
93+
solana-hash = "3.0.0"
94+
solana-instruction = "3.0.0"
95+
solana-keypair = "3.0.0"
96+
solana-message = "3.0.0"
97+
solana-native-token = "3.0.0"
98+
solana-nonce = "3.0.0"
99+
solana-packet = "3.0.0"
100+
solana-program = "3.0.0"
101+
solana-pubkey = "3.0.0"
73102
solana-quic-definitions = "3.0.0"
103+
solana-sdk-ids = "3.0.0"
74104
solana-signature = "3.0.0"
75105
solana-signer = "3.0.0"
76-
solana-sdk-ids = "3.0.0"
77106
solana-transaction = "3.0.0"
78-
solana-epoch-info = "3.0.0"
79-
solana-commitment-config = "3.0.0"
80107
solana-transaction-error = "3.0.0"
81-
solana-message = "3.0.0"
82-
solana-compute-budget-interface = "3.0.0"
83-
solana-native-token = "3.0.0"
84-
solana-nonce = "3.0.0"
85-
solana-packet = "3.0.0"
86-
# End
87-
reqwest = "0.12.24"
88-
retry = "2.1.0"
89-
thiserror = "2.0.17"
90-
tokio = "1.48.0"
91-
tonic-prost = "0.14.0"
92-
tokio-stream = "0.1.15"
93-
tonic = "0.14.0"
94-
tonic-health = "0.14.0"
95-
tower = "0.5.0"
96-
tracing = "0.1.40"
97-
tracing-subscriber = "0.3.1"
98-
uuid = "1.11.0"
108+
109+
# Yellowstone
99110
yellowstone-grpc-client = "10.2.0"
100111
yellowstone-grpc-proto = "10.1.1"
101-
yellowstone-shield-store = "0.9.1"
102-
tokio-util = "0.7.16"
103-
cargo-lock = "10.0.1"
104-
git-version = "0.3.9"
105-
protobuf-src = "1.1.0"
106-
tonic-build = "0.14.0"
107-
tonic-prost-build = "0.14.0"
108-
vergen = "9.0.1"
109-
tikv-jemallocator = "0.6.1"
110-
libc = "0.2.177"
111112
yellowstone-jet-tpu-client = { path = "crates/tpu-client", version = "0.3.0" }
113+
yellowstone-shield-store = "0.9.1"
112114

113115
[workspace.lints.clippy]
114116
clone_on_ref_ptr = "deny"
@@ -120,15 +122,15 @@ codegen-units = 1
120122
lto = true
121123

122124
[patch.crates-io]
123-
solana-rpc-client = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
124-
solana-rpc-client-api = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
125125
solana-account-decoder = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
126126
solana-account-decoder-client-types = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
127127
solana-client = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
128+
solana-net-utils = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
129+
solana-quic-client = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
130+
solana-rpc-client = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
131+
solana-rpc-client-api = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
128132
solana-streamer = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
133+
solana-tpu-client = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
129134
solana-transaction-context = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
130135
solana-transaction-status = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
131136
solana-transaction-status-client-types = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
132-
solana-net-utils = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
133-
solana-tpu-client = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }
134-
solana-quic-client = { git = "https://github.com/rpcpool/solana-public.git", tag = "v3.0.6-triton-public" }

apps/jet/Cargo.toml

Lines changed: 39 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ anyhow = { workspace = true }
1414
async-trait = { workspace = true }
1515
base64 = { workspace = true }
1616
bincode = { workspace = true }
17-
bs58 = { workspace = true }
1817
borsh = { workspace = true }
18+
bs58 = { workspace = true }
1919
bytes = { workspace = true }
2020
clap = { workspace = true, features = ["cargo", "derive", "env"] }
2121
derive_more = { workspace = true, features = ["display"] }
@@ -36,59 +36,65 @@ prost-types = { workspace = true }
3636
quinn = { workspace = true }
3737
quinn-proto = { workspace = true }
3838
rand = { workspace = true }
39+
reqwest = { workspace = true, features = ["json"] }
40+
retry = { workspace = true }
3941
rustls = { workspace = true }
4042
semver = { workspace = true }
4143
serde = { workspace = true }
4244
serde_json = { workspace = true }
4345
serde_yaml = { workspace = true }
46+
thiserror = { workspace = true }
47+
tikv-jemallocator = { workspace = true }
48+
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
49+
tokio-stream = { workspace = true }
50+
tokio-util = { workspace = true }
51+
tonic = { workspace = true, features = ["tls-native-roots"] }
52+
tonic-health = { workspace = true }
53+
tonic-prost = { workspace = true }
54+
tower = { workspace = true }
55+
tracing = { workspace = true }
56+
tracing-subscriber = { workspace = true, features = ["ansi", "env-filter", "json"] }
57+
uuid = { workspace = true, features = ["v4", "serde"] }
58+
59+
# Agave Monorepo
60+
solana-bincode = { workspace = true }
4461
solana-client = { workspace = true }
62+
solana-rpc-client = { workspace = true }
4563
solana-rpc-client-api = { workspace = true }
4664
solana-streamer = { workspace = true }
47-
solana-version = { workspace = true, features = ["agave-unstable-api"] }
48-
solana-rpc-client = { workspace = true }
49-
solana-transaction-status-client-types = { workspace = true }
5065
solana-system-interface = { workspace = true, features = ["bincode"] }
51-
solana-bincode = { workspace = true }
5266
solana-tls-utils = { workspace = true, features = ["agave-unstable-api"] }
53-
solana-program = { workspace = true }
54-
reqwest = { workspace = true, features = ["json"] }
55-
retry = { workspace = true }
56-
solana-instruction = { workspace = true }
57-
solana-pubkey = { workspace = true }
58-
solana-keypair = { workspace = true }
67+
solana-transaction-status-client-types = { workspace = true }
68+
solana-version = { workspace = true, features = ["agave-unstable-api"] }
69+
70+
# Solana SDK
5971
solana-account = { workspace = true }
6072
solana-clock = { workspace = true }
61-
solana-hash = { workspace = true }
73+
solana-commitment-config = { workspace = true }
74+
solana-compute-budget-interface = { workspace = true }
75+
solana-epoch-info = { workspace = true }
6276
solana-epoch-schedule = { workspace = true }
77+
solana-hash = { workspace = true }
78+
solana-instruction = { workspace = true }
79+
solana-keypair = { workspace = true }
80+
solana-message = { workspace = true }
81+
solana-native-token = { workspace = true }
82+
solana-nonce = { workspace = true }
83+
solana-packet = { workspace = true }
84+
solana-program = { workspace = true }
85+
solana-pubkey = { workspace = true }
6386
solana-quic-definitions = { workspace = true }
87+
solana-sdk-ids = { workspace = true }
6488
solana-signature = { workspace = true, features = ["rand"] }
6589
solana-signer = { workspace = true }
66-
solana-sdk-ids = { workspace = true }
6790
solana-transaction = { workspace = true }
68-
solana-epoch-info = { workspace = true }
69-
solana-commitment-config = { workspace = true }
7091
solana-transaction-error = { workspace = true }
71-
solana-message = { workspace = true }
72-
solana-compute-budget-interface = { workspace = true }
73-
solana-native-token = { workspace = true }
74-
solana-nonce = { workspace = true }
75-
solana-packet = { workspace = true }
76-
thiserror = { workspace = true }
77-
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
78-
tonic-prost = { workspace = true }
79-
tokio-stream = { workspace = true }
80-
tonic = { workspace = true, features = ["tls-native-roots"] }
81-
tonic-health = { workspace = true }
82-
tower = { workspace = true }
83-
tracing = { workspace = true }
84-
tracing-subscriber = { workspace = true, features = ["ansi", "env-filter", "json"] }
85-
uuid = { workspace = true, features = ["v4", "serde"] }
92+
93+
# Yellowstone
8694
yellowstone-grpc-client = { workspace = true }
8795
yellowstone-grpc-proto = { workspace = true }
8896
yellowstone-jet-tpu-client = { workspace = true, features = ["prometheus", "yellowstone-grpc", "shield"] }
8997
yellowstone-shield-store = { workspace = true }
90-
tokio-util = { workspace = true }
91-
tikv-jemallocator = { workspace = true }
9298

9399
[build-dependencies]
94100
anyhow = { workspace = true }
@@ -100,4 +106,4 @@ tonic-prost-build = { workspace = true }
100106
vergen = { workspace = true, features = ["build", "rustc"] }
101107

102108
[lints]
103-
workspace = true
109+
workspace = true

0 commit comments

Comments
 (0)