-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
255 lines (228 loc) · 9.73 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
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
[workspace]
resolver = "2"
members = [
"client",
"core",
# "database",
# "http/server",
"macros",
"nexus",
"rpc/client",
"rpc/core",
"rpc/server",
"server",
# "wasm",
]
default-members = ["client","server"]
[workspace.package]
rust-version = "1.79.0"
version = "0.0.1"
authors = ["Sparkle Developers"]
license = "Apache-2.0 OR MIT"
edition = "2021"
repository = "https://github.com/aspectron/sparkle"
include = [
"src/**/*.rs",
"build.rs",
"Cargo.toml",
"Cargo.lock",
]
[workspace.dependencies]
kaspa-monitor-client = { path = "client" }
kaspa-monitor-core = { path = "core" }
# sparkle-database = { path = "database" }
kaspa-monitor-nexus = { path = "nexus" }
kaspa-monitor-rpc-core = { path = "rpc/core" }
kaspa-monitor-rpc-client = { path = "rpc/client" }
kaspa-monitor-rpc-server = { path = "rpc/server" }
kaspa-monitor-daemon = { path = "server" }
# sparkle-wasm = { path = "wasm" }
kaspa-monitor-macros = { path = "macros" }
# _______________________________________________________
# ____ _ _ ____ ___ _ _ _ _ ____ ____ ___ ____
# |__/ | | [__ | \_/ __ |_/ |__| [__ |__] |__|
# | \ |__| ___] | | | \_ | | ___] | | |
# _______________________________________________________
# kaspa-addresses = "0.13.4"
# kaspa-bip32 = "0.13.4"
# kaspa-consensus-core = "0.13.4"
# kaspa-consensus-client = "0.13.4"
# kaspa-consensus-wasm = "0.13.4"
# kaspa-hashes = "0.13.4"
# kaspa-notify = "0.13.4"
# kaspa-rpc-core = "0.13.4"
# kaspa-utils = "0.13.4"
# kaspa-wallet-core = "0.13.4"
# kaspa-wallet-keys = "0.13.4"
# kaspa-wasm = "0.13.4"
# kaspa-wasm-core = "0.13.4"
# kaspa-wrpc-client = "0.13.4"
# kaspa-wrpc-wasm = "0.13.4"
# kaspa-addresses = { path = "../rusty-kaspa/crypto/addresses" }
# kaspa-bip32 = { path = "../rusty-kaspa/wallet/bip32" }
# kaspa-consensus-core = { path = "../rusty-kaspa/consensus/core" }
# kaspa-consensus-client = { path = "../rusty-kaspa/consensus/client" }
# kaspa-consensus-wasm = { path = "../rusty-kaspa/consensus/wasm" }
# kaspa-hashes = { path = "../rusty-kaspa/crypto/hashes" }
# kaspa-notify = { path = "../rusty-kaspa/notify" }
# kaspa-rpc-core = { path = "../rusty-kaspa/rpc/core" }
# kaspa-txscript = { path = "../rusty-kaspa/crypto/txscript" }
# kaspa-txscript-errors = { path = "../rusty-kaspa/crypto/txscript/errors" }
# kaspa-utils = { path = "../rusty-kaspa/utils" }
# kaspa-wallet-core = { path = "../rusty-kaspa/wallet/core" }
# kaspa-wallet-keys = { path = "../rusty-kaspa/wallet/keys" }
# kaspa-wasm = { path = "../rusty-kaspa/wasm" }
# kaspa-wasm-core = { path = "../rusty-kaspa/wasm/core" }
# kaspa-wrpc-client = { path = "../rusty-kaspa/rpc/wrpc/client" }
# kaspa-wrpc-wasm = { path = "../rusty-kaspa/rpc/wrpc/wasm" }
# kaspa-addresses = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-bip32 = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-consensus-client = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-consensus-wasm = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-notify = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-rpc-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-txscript = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-txscript-errors = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-utils = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-wallet-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-wallet-keys = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-wasm = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-wasm-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-wrpc-client = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-wrpc-wasm = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# kaspa-consensus-core = { path = "../rusty-kaspa/consensus/core" }
# kaspa-rpc-core = { path = "../rusty-kaspa/rpc/core" }
# kaspa-utils = { path = "../rusty-kaspa/utils" }
# kaspa-wrpc-client = { path = "../rusty-kaspa/rpc/wrpc/client" }
# kaspa-consensus-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-hashes = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-metrics-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-consensus-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-rpc-core = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-utils = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
kaspa-wrpc-client = { git = "https://github.com/aspectron/rusty-kaspa.git", branch = "omega" }
# sparkle-rpc-core = { path = "../sparkle/rpc/core" }
# sparkle-rpc-client = { path = "../sparkle/rpc/client" }
sparkle-rpc-core = { git = "https://github.com/aspectron/sparkle.git", branch = "omega" }
sparkle-rpc-client = { git = "https://github.com/aspectron/sparkle.git", branch = "omega" }
# _________________________________________________________
# _ _ _ ____ ____ _ _ ____ _ ____ _ _ _ ____ ____
# | | | | | |__/ |_/ |___ | | | | | | __ |__/ [__
# |_|_| |__| | \ | \_ | |___ |__| |_|_| | \ ___]
# _________________________________________________________
workflow-core = "0.15.0"
workflow-http = "0.15.0"
workflow-log = "0.15.0"
workflow-wasm = "0.15.0"
workflow-rpc = "0.15.0"
workflow-serializer = "0.15.0"
workflow-encryption = "0.15.0"
workflow-egui = { path = "../workflow-rs/egui" }
# workflow-core = { path = "../workflow-rs/core" }
# workflow-http = { path = "../workflow-rs/http" }
# workflow-log = { path = "../workflow-rs/log" }
# workflow-wasm = { path = "../workflow-rs/wasm" }
# workflow-rpc = { path = "../workflow-rs/rpc" }
# workflow-serializer = { path = "../workflow-rs/serializer" }
# workflow-core = { git = "https://github.com/workflow-rs/workflow-rs.git", branch = "master", features = ["no-unsafe-eval"] }
# workflow-http = { git = "https://github.com/workflow-rs/workflow-rs.git", branch = "master" }
# workflow-log = { git = "https://github.com/workflow-rs/workflow-rs.git", branch = "master" }
# workflow-wasm = { git = "https://github.com/workflow-rs/workflow-rs.git", branch = "master" }
# workflow-rpc = { git = "https://github.com/workflow-rs/workflow-rs.git", branch = "master" }
# workflow-serializer = { git = "https://github.com/workflow-rs/workflow-rs.git", branch = "master" }
# ----------------------------------------
# ----------------------------------------
# ----------------------------------------
ahash = "0.8.6"
arc-swap = "1.7.1"
async-std = { version = "1.12.0", features = ['attributes'] }
async-trait = "0.1.74"
axum = "0.7.4"
base64 = "0.22.1"
bincode = "1.3.3"
borsh = { version = "1.5.1", features = ["rc"] }
bs58 = { version = "0.5.0", features = ["check"], default-features = false }
cfg-if = "1.0.0"
chrono = "0.4.31"
clap = { version = "4.4.7", features = ["derive", "string", "cargo"] }
cliclack = "0.3.1"
console = "0.15.8"
convert_case = "0.6.0"
ctrlc = "3.4.1"
dirs = "5.0.1"
downcast-rs = "1.2.0"
enum_dispatch = "0.3.13"
enum-primitive-derive = "0.3.0"
env_logger = "0.11.3"
evm = "0.41.1"
faster-hex = "0.9.0"
futures = "0.3.29"
futures-util = { version = "0.3.29", default-features = false, features = ["alloc"] }
hex = { version = "0.4.3", features = ["serde"] }
hex-literal = "0.4.1"
indexmap = "2.2.6"
itertools = "0.13.0"
js-sys = "0.3.67"
log = "0.4.20"
mail-send = "0.4.7"
mime = "0.3.16"
mime_guess = "2.0.4"
mini-moka = "=0.10.3"
num = "0.4.1"
num_cpus = "1.16.0"
num-traits = "0.2.17"
once_cell = "1.19.0"
pad = "0.1.6"
parking_lot = "0.12.1"
primitive-types = "0.12.2"
qrcode = "0.14.0"
rand = "0.8.5"
recurly = "48.0.0"
regex = "1.10.2"
reqwest = {version = "0.12.4", features = ["json"] }
rocksdb = "0.22.0"
secp256k1 = { version = "0.28.2", features = ["global-context","rand-std","serde"] }
separator = "0.4.1"
serde = { version = "1.0.190", features = ["derive", "rc"] }
serde_json = "1.0.107"
serde_with = "3.8.1"
serde-hex = "0.1.0"
serde-wasm-bindgen = "0.6.5"
sha2 = "0.10.8"
smallvec = { version = "1.11.1", features = ["serde"] }
tempfile = "3.10.1"
thiserror = "1.0.50"
tokio = { version = "1.33.0", features = ["full"] }
toml = "0.8.8"
tower = { version = "0.4.13", features = ["buffer","limit"] }
tower-http = { version = "0.5.1", features = ["cors","timeout","trace"] }
tracing-subscriber = "0.3.18"
wasm-bindgen = { version = "0.2.92", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.40"
wasm-bindgen-test = "0.3.37"
web-sys = "0.3.67"
xxhash-rust = { version = "0.8.7", features = ["xxh3"] }
# [target.'cfg(target_arch = "wasm32")'.dependencies]
# kaspa-wasm = { path = "../rusty-kaspa/wasm" }
# [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# tokio = { version = "1", features = ["sync", "rt-multi-thread", "process"] }
egui = "0.28.1"
epaint = "=0.28.1"
egui_plot = "=0.28.1"
egui_extras = { version = "=0.28.1", features = ["svg","image"] }
# eframe = "0.28.1"
eframe = { version = "0.28.1", default-features = false, features = [
# # "accesskit", # Make egui comptaible with screen readers. NOTE: adds a lot of dependencies.
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
"persistence", # Enable restoring app state when restarting the app.
] }
[profile.release]
opt-level = 2
# opt-level = 3
# lto = true
[profile.native-release]
inherits = "release"
opt-level = 3
lto = true
# strip = true