-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathCargo.toml
142 lines (134 loc) · 3.83 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
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
[package]
name = "ore-app"
version = "1.1.0"
description = "ORE is digital gold on Solana."
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 = [
"dioxus/desktop",
"dioxus-sdk/clipboard",
"env_logger",
"solana-account-decoder",
"solana-client",
"solana-transaction-status",
"spl-associated-token-account",
"directories",
]
web = [
"dioxus/web",
"gloo",
"gloo-storage",
"gloo-worker",
"gloo-utils",
"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",
]
[dependencies]
anyhow = "1.0"
async-retry = "0.3.1"
async-std = "1.12.0"
base64 = "0.22.1"
bincode = "1.3.3"
bs58 = "0.4"
bytemuck = "1.14.3"
cached = { version = "0.47.0", features = ["async"] }
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.0.0"
env_logger = { version = "0.11.6", optional = true }
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 }
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-format = "0.4.4"
once_cell = "1.18"
ore-api = "3.0"
ore-boost-api = "1.2"
ore-miner-types = { path = "./miner-types" }
ore-miner-web = { path = "./miner-web", features = ["app"], default-features = false, optional = true }
ore-pool-api = "1.3"
ore-pool-types = "1.2"
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 = "1.18", optional = true }
solana-extra-wasm = { version = "1.18", optional = true }
solana-sdk = "1.18"
solana-client = { version = "1.18", optional = true }
solana-account-decoder = { version = "1.18", optional = true }
solana-transaction-status = { version = "1.18", optional = true }
spl-associated-token-account = { version = "3.0", optional = true, features = ["no-entrypoint"] }
steel = "2.0"
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 }
[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]
solana-client-wasm = { version = "1.18", git = "https://github.com/regolith-labs/solana-playground", branch = "master" }
solana-extra-wasm = { version = "1.18", git = "https://github.com/regolith-labs/solana-playground", branch = "master" }
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"