-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
72 lines (70 loc) · 2.29 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
[workspace]
resolver = "2"
members = [
"bindings/sdk",
"bindings/wasm",
"interface",
"provider",
"signers",
"types",
"utils",
"wallet"
]
default-members = [
"signers",
"utils",
"types",
"provider",
"interface",
"wallet"
]
[workspace.dependencies]
async-std = "1.12.0"
anyhow = "1.0.79"
bigdecimal = { version = "0.3", features = ["serde"] }
cfg-if = "1.0"
chrono = { version = "0.4", features = ["serde"] }
ethers = "2.0.11"
ethers_primitives = "0.2.2"
franklin-crypto = { version = "0.0.5", git = "https://github.com/zkLinkProtocol/franklin-crypto.git", branch = "dev" }
futures = "0.3"
getrandom = { version = "0.2.12", features = ["js"] }
web-sys = "0.3"
web-time = "0.2.4"
hex = "0.4"
js-sys = "0.3.64"
jsonrpsee = "0.21.0"
k256 = { version = "0.13.3", features = ["ecdsa","sha256"] }
num = { version = "0.4", features = ["serde"] }
primitive-types = { version = "0.12", features = ["serde"] }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls"] }
sha2 = "0.10"
serde = { version = "1.0", features = ["derive"] }
serde_eip712 = "0.2.2"
serde_json = "1.0"
serde-wasm-bindgen = "0.6"
starknet-core = { git = "https://github.com/xJonathanLEI/starknet-rs", rev = "95d50ac0a3a537cb63a390bad818415899c90693" }
starknet-signers = { git = "https://github.com/xJonathanLEI/starknet-rs", rev = "95d50ac0a3a537cb63a390bad818415899c90693" }
starknet-ff = { git = "https://github.com/xJonathanLEI/starknet-rs", rev = "95d50ac0a3a537cb63a390bad818415899c90693" }
pythnet-sdk = { git = "https://github.com/pyth-network/pyth-crosschain", version = "2.0.0" }
thiserror = "1.0"
tokio = "1"
tokio-tungstenite = "0.21.0"
uuid = "0.8"
uniffi = "0.23"
uniffi_macros = { version = "0.23" }
uniffi_build = { version = "0.23", features = ["builtin-bindgen"] }
validator = { version = "0.16", features = ["derive"] }
wasm-bindgen = { version = "0.2.90", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4"
wasm-bindgen-test = "0.3"
[profile.release]
opt-level = "s"
debug = true
lto = "thin"
strip = true # Automatically strip symbols from the binary.
# The following configuration minimizes the size of the output packet, Reference https://github.com/johnthagen/min-sized-rust
# opt-level = "z"
# debug = false
# lto = true
# codegen-units = 1