-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
129 lines (124 loc) · 4.24 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
[package]
name = "ore-app"
version = "1.0.1"
description = "Ore is a digital currency you can mine from anywhere, at home or on your phone."
edition = "2021"
license = "Apache-2.0"
homepage = "https://ore.supply"
documentation = "https://ore.supply"
repository = "https://github.com/hardhatchad/ore-app"
readme = "./README.md"
keywords = ["solana", "crypto", "mining"]
[features]
default = ["web"]
bundle = []
desktop = [
"async-tungstenite",
"dioxus-desktop",
"directories",
"env_logger",
"home",
"num_cpus",
"solana-account-decoder",
"solana-client",
"solana-sdk",
"solana-transaction-status",
"spl-memo",
"spl-token",
"spl-associated-token-account",
]
web = [
"dioxus-web",
"gloo",
"gloo-storage",
"js-sys",
"serde-wasm-bindgen",
"solana-client-wasm",
"solana-extra-wasm",
"wasm-bindgen",
"wasm-bindgen-futures",
"wasm-logger",
"web-sys",
"web-time",
]
[dependencies]
async-std = "1.12.0"
async-tungstenite = { version = "0.25.0", features = ["async-std-runtime", "async-native-tls"], optional = true }
bincode = "1.3.3"
cached = "0.47.0"
chrono = "0.4.34"
dioxus = "0.4.3"
dioxus-desktop = { version = "0.4.3", optional = true }
dioxus-hooks = "0.2.0"
dioxus-router = "0.4.3"
dioxus-std = { version = "0.4.1", features = ["clipboard", "utils"] }
dioxus-web = { version = "0.4.3", optional = true }
directories = { version = "4.0.1", optional = true }
env_logger = { version = "0.11.2", optional = true }
futures = "0.3.30"
futures-timer = "0.6"
gloo = { version = "0.11.0", optional = true }
gloo-storage = { version = "0.3.0", optional = true }
home = { version = "0.5.9", optional = true }
is-url = { version = "1.0.4" }
js-sys = { version = "0.3.67", optional = true }
log = "0.4.20"
num_cpus = { version = "1.16.0", optional = true }
ore = { package = "spam-program", version = "1.2.0", features = ["no-entrypoint"] }
ore-types = "0.0.5"
plotters = "0.3.1"
plotters-svg = "0.3.1"
qrcode-generator = "4.1.9"
rand = "0.8.5"
reqwest = "0.11.24"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = { version = "0.6.3", optional = true }
serde_json = "1.0"
solana-account-decoder = { version = "1.17.4", optional = true }
solana-client = { version = "1.17.4", optional = true }
solana-client-wasm = { version = "1.17.4", optional = true }
solana-extra-wasm = { version = "1.17.4", optional = true }
solana-sdk = { version = "1.17.4", optional = true }
solana-transaction-status = { version = "1.17.4", optional = true }
spl-memo = { version = "^4", features = ["no-entrypoint"], optional = true }
spl-token = { version = "^4", features = ["no-entrypoint"], optional = true }
spl-associated-token-account = { version = "^2.2", features = [ "no-entrypoint" ], optional = true }
url = "2.5.0"
wasm-bindgen = { version = "0.2.93", 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 = [
'console',
'Clipboard',
'Document',
'HtmlElement',
'HtmlInputElement',
'MessageEvent',
'Navigator',
'Window',
'Worker',
'WorkerOptions',
'WorkerType',
'WorkerGlobalScope',
]
[patch.crates-io]
solana-client-wasm = { version = "1.17.4", git = "https://github.com/HardhatChad/solana-playground", branch = "hardhatchad/token-largest" }
solana-extra-wasm = { version = "1.17.4", git = "https://github.com/HardhatChad/solana-playground", branch = "hardhatchad/token-largest" }
# solana-client-wasm = { version = "1.17.4", git = "https://github.com/HardhatChad/solana-playground", rev = "91367320c2f76d9d6e24e55f48eb14b7947b1c8f" }
# solana-extra-wasm = { version = "1.17.4", git = "https://github.com/HardhatChad/solana-playground", rev = "91367320c2f76d9d6e24e55f48eb14b7947b1c8f" }
[package.metadata.bundle]
name = "Ore"
identifier = "com.ore.app"
version = "1.0.1"
resources = ["public"]
copyright = "Copyright (c) Hardhat Chad 2024. All rights reserved."
category = "Finance"
short_description = "Ore miner"
long_description = "Ore is a digital currency you can mine from anywhere, at home or on your phone."
osx_url_schemes = ["com.ore.app"]
info_plist = "Info.plist"
icon = ["Icon.icns"]