-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (65 loc) · 2.12 KB
/
Cargo.toml
File metadata and controls
72 lines (65 loc) · 2.12 KB
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 = [
"crates/dojo-core",
"crates/c",
"crates/wasm",
"crates/uniffi",
]
[workspace.package]
edition = "2021"
version = "1.8.3"
[workspace.dependencies]
# Dojo dependencies
dojo-world = { git = "https://github.com/dojoengine/dojo", rev = "0afeb1bc" }
dojo-types = { git = "https://github.com/dojoengine/dojo", rev = "0afeb1bc" }
torii-proto = { git = "https://github.com/dojoengine/torii", rev = "ffd7139" }
torii-client = { git = "https://github.com/dojoengine/torii", rev = "ffd7139" }
torii-grpc-client = { git = "https://github.com/dojoengine/torii", rev = "ffd7139" }
# Starknet dependencies
starknet = "0.17.0"
starknet-crypto = "0.8"
starknet-types-core = { version = "0.2.0", features = ["arbitrary"] }
# Core dependencies
parking_lot = "0.12.1"
tokio = { version = "1.39.2", default-features = false, features = ["rt", "rt-multi-thread", "macros"] }
url = "2.5.0"
anyhow = "1.0.89"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.115"
tokio-stream = "0.1.14"
futures = "0.3.30"
futures-channel = "0.3.30"
futures-util = "0.3"
stream-cancel = "0.8.2"
cainome = "0.10.1"
lazy_static = "1.5.0"
crypto-bigint = "0.5.5"
chrono = "0.4.41"
# WASM dependencies
wasm-bindgen = "0.2.92"
serde-wasm-bindgen = "0.6.3"
wasm-bindgen-futures = "0.4.39"
js-sys = "0.3.77"
web-sys = { version = "0.3.77", features = [
'MessageEvent',
'Window',
'Worker',
'WorkerGlobalScope',
'console',
] }
tsify-next = { version = "0.5.4", features = ["js"] }
instant = { version = "0.1.13", features = ["wasm-bindgen"] }
gloo-timers = { version = "0.3.0", features = ["futures"] }
gloo-utils = { version = "0.2.0", features = ["serde"] }
num-bigint = "0.4.6"
console_error_panic_hook = "0.1.5"
num-traits = "0.2.19"
# Internal crates
dojo-core = { path = "crates/dojo-core" }
c = { path = "crates/c" }
wasm = { path = "crates/wasm" }
dojo-uniffi = { path = "crates/uniffi" }
[patch.crates-io]
crunchy = { git = "https://github.com/nmathewson/crunchy", branch = "cross-compilation-fix" }
starknet-crypto = { git = "https://github.com/glihm/starknet-rs", rev = "c1e7e19f45f9fad6ea2796da9b7b3dcf8f9f2b82" }