-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathCargo.toml
More file actions
200 lines (190 loc) · 6.38 KB
/
Cargo.toml
File metadata and controls
200 lines (190 loc) · 6.38 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
[package]
name = "ore-app"
version = "1.2.13"
description = "Liquid digital gold."
edition = "2021"
license = "Apache-2.0"
homepage = "https://ore.supply"
documentation = "https://ore.supply"
repository = "https://github.com/regolith-labs/ore-app"
readme = "./README.md"
keywords = ["solana", "crypto", "mining"]
[features]
default = ["web"]
bundle = []
desktop = [
"cargo-packager-updater",
"core_affinity",
"dioxus/desktop",
"dioxus-sdk/clipboard",
"directories",
"env_logger",
"fern",
"solana-account-decoder",
"solana-client",
"solana-program",
"solana-transaction-status",
"spl-associated-token-account",
"spl-memo",
"spl-token",
"spl-token-2022",
"sysinfo",
"tokio",
"tokio-tungstenite",
]
# Feature for macOS-specific dependencies
macos-desktop = ["cocoa", "objc"]
web = [
"dioxus/web",
"gloo",
"gloo-storage",
"gloo-worker",
"gloo-utils",
"gloo-net",
"js-sys",
"ore-miner-web",
"serde-wasm-bindgen",
"solana-client-wasm",
"solana-extra-wasm",
"wasm-bindgen",
"wasm-bindgen-futures",
"wasm-logger",
"web-sys",
"web-time",
]
directories = ["dep:directories"]
[dependencies]
anyhow = "1.0"
async-retry = "0.3.1"
async-std = "1.12.0"
async-trait = "0.1.87"
base64 = "0.22.1"
bincode = "1.3.3"
bs58 = "0.4"
b64 = "0.4"
bytemuck = "1.14.3"
cached = { version = "0.47.0", features = ["async"] }
cargo-packager-updater = { git = "https://github.com/regolith-labs/cargo-packager.git", subdirectory = "crates/updater", rev = "6cedc87", default-features = false, optional = true, features = [
"native-tls",
] }
chrono = { version = "0.4", features = ["wasmbind"] }
cocoa = { version = "0.24", optional = true, features = [] }
core_affinity = { version = "0.8.1", optional = true }
dioxus = { version = "0.6.1", features = ["router"] }
dioxus-sdk = { version = "0.6", features = ["timing"] }
dioxus-logger = "0.6"
directories = { version = "6.0.0", optional = true }
drillx = "2.2"
env_logger = { version = "0.11.6", optional = true }
fern = { version = "0.6", optional = true }
fastrand = "2.3.0"
futures = "0.3.30"
futures-util = "0.3.30"
gloo = { version = "0.11.0", optional = true }
gloo-storage = { version = "0.3.0", optional = true }
gloo-worker = { version = "0.5.0", optional = true }
gloo-utils = { version = "0.2.0", optional = true }
gloo-net = { version = "0.6.0", optional = true }
is-url = { version = "1.0.4" }
js-sys = { version = "0.3.67", optional = true }
jupiter-swap-api-client = { git = "https://github.com/regolith-labs/jupiter-swap-api-client", package = "jupiter-swap-api-client", branch = "main" }
keyring = { version = "3.6.1", features = ["apple-native", "windows-native"] }
kliquidity-sdk = "0.0.1"
lazy_static = "1.4"
log = "0.4.20"
meteora-pools-sdk = "0.1"
meteora-vault-sdk = "0.1"
num_cpus = "1.16.0"
num-format = "0.4.4"
objc = { version = "0.2", optional = true, features = [] }
once_cell = "1.18"
ore-api-v2 = { package = "ore-api", version = "3.6.0" }
ore-api = { git = "https://github.com/regolith-labs/ore", branch = "hardhat/one", ref = "99b24775742f86fd650c2418c79ff289b94a986f" }
ore-boost-api = { git = "https://github.com/regolith-labs/ore-boost", branch = "hardhat/bsm-boost", ref = "a6b7234c1068a989cf8de257186aa53594958dc5" }
ore-miner-types = { path = "./miner-types" }
ore-miner-web = { path = "./miner-web", features = [
"app",
], default-features = false, optional = true }
# ore-pool-api = "1.7.0-beta"
# ore-pool-types = "1.7.0-beta"
ore-pool-api = { git = "https://github.com/regolith-labs/ore-pool", branch = "master", ref = "6dd794090bba7cc75f250994210d2162ceca8d9a" }
ore-pool-types = { git = "https://github.com/regolith-labs/ore-pool", branch = "master", ref = "6dd794090bba7cc75f250994210d2162ceca8d9a" }
ore-types = "0.0.14"
qrcode-generator = "4.1.9"
rand = "0.8.5"
reqwest = "0.11.24"
rust_decimal = "1.36.0"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = { version = "0.6.3", optional = true }
serde_json = "1.0"
serde_yaml = "0.9"
solana-client-wasm = { version = "2.1", optional = true }
solana-extra-wasm = { version = "2.1", optional = true }
solana-sdk = "2.1"
solana-client = { version = "2.1", optional = true }
solana-account-decoder = { version = "2.1", optional = true }
solana-transaction-status = { version = "2.1", optional = true }
solana-program = { version = "2.1", optional = true }
spl-associated-token-account = { version = "^6", optional = true, features = [
"no-entrypoint",
] }
spl-memo = { version = "^4", optional = true, features = ["no-entrypoint"] }
spl-token = { version = "^4", optional = true, features = ["no-entrypoint"] }
spl-token-2022 = { version = "^6", optional = true, features = [
"no-entrypoint",
] }
steel = "4.0.2"
sysinfo = { version = "0.33.1", optional = true }
tokio = { version = "1.43.0", optional = true, features = ["full"] }
tokio-tungstenite = { version = "0.26.2", optional = true, features = [
"native-tls",
] }
tracing = "0.1.40"
url = "2.5.0"
wasm-bindgen = { version = "0.2.99", optional = true }
wasm-bindgen-futures = { version = "0.4.41", optional = true }
wasm-logger = { version = "0.2.0", optional = true }
web-time = { version = "1.0.0", optional = true }
zeroize = "1.3.0"
[dependencies.web-sys]
version = "0.3"
optional = true
features = [
'BlobPropertyBag',
'console',
'Clipboard',
'Document',
'HtmlElement',
'HtmlInputElement',
"IdbFactory",
"IdbDatabase",
"IdbObjectStore",
"IdbTransaction",
'MessageEvent',
'Navigator',
'Window',
'Worker',
'WorkerOptions',
'WorkerType',
'WorkerGlobalScope',
]
[patch.crates-io]
# ore-types = { git = "https://github.com/regolith-labs/ore-infra", branch = "master }
solana-client-wasm = { version = "2.1", git = "https://github.com/regolith-labs/solana-playground", branch = "master" }
solana-extra-wasm = { version = "2.1", git = "https://github.com/regolith-labs/solana-playground", branch = "master" }
kliquidity-sdk = { git = "https://github.com/regolith-labs/kliquidity-sdk", branch = "master" }
meteora-pools-sdk = { git = "https://github.com/regolith-labs/meteora-pools-sdk", branch = "master" }
meteora-vault-sdk = { git = "https://github.com/regolith-labs/meteora-vault-sdk", branch = "master" }
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = { version = "0.24", features = [] }
objc = { version = "0.2", features = [] }
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
debug = 1
env = { RUST_LOG = "info" }
[profile.android-dev]
inherits = "dev"