-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
68 lines (62 loc) · 1.5 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
[workspace]
members = [
"app",
"common",
"kusama",
"polkadot",
]
resolver = "2"
[workspace.package]
name = "corematch"
version = "0.6.0"
license = "Apache-2.0"
repository = "https://github.com/turboflakes/corematch"
authors = ["Paulo <[email protected]>"]
description = "Corematch is a memory game where the player has to match the latest Polkadot core usage in a 3x3 matrix."
edition = "2021"
[workspace.dependencies]
wasm-bindgen = "0.2.92"
wasm-bindgen-futures = "0.4.39"
wasm-logger = "0.2.0"
yew = { version = "0.21", features = ["csr"] }
yew-router = "0.18"
yew-hooks = "0.3.2"
subxt = { version = "0.37", default-features = false, features = ["unstable-light-client", "jsonrpsee", "web"], target_arch = "wasm32" }
sp-core-hashing = "12.0.0"
futures = "0.3.28"
anyhow = "1.0.71"
strum = "0.17.1"
strum_macros = "0.17.1"
serde = "1.0.163"
serde_json = "1.0.96"
thiserror = "^1.0.24"
log = "0.4"
rand = "0.8.5"
hex = "0.4.3"
js-sys = "0.3.66"
gloo = "0.11.0"
[workspace.dependencies.web-sys]
version = "0.3"
# We need to enable the `DomRect` feature to use the
# `get_bounding_client_rect` method.
features = [
"console",
"HtmlElement",
"MouseEvent",
"FocusEvent",
"DomRect",
"EventTarget",
]
[profile.dev]
debug = "limited"
opt-level = 2
panic = "abort"
[profile.dev.package."*"]
opt-level = 3
# https://rustwasm.github.io/book/reference/code-size.html#optimizing-builds-for-code-size
[profile.release]
panic = "abort"
lto = true
codegen-units = 1
opt-level = "z"
incremental = false