forked from dojoengine/dojo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
209 lines (191 loc) · 7.13 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
[workspace]
resolver = "2"
members = [
"bin/dojo-language-server",
"bin/katana",
"bin/saya",
"bin/sozo",
"bin/torii",
"crates/benches",
"crates/common",
"crates/dojo-bindgen",
"crates/dojo-core",
"crates/dojo-lang",
"crates/dojo-test-utils",
"crates/dojo-types",
"crates/dojo-world",
"crates/dojo-world/abigen",
"crates/katana/core",
"crates/katana/executor",
"crates/katana/primitives",
"crates/katana/rpc/rpc",
"crates/katana/rpc/rpc-api",
"crates/katana/rpc/rpc-types",
"crates/katana/rpc/rpc-types-builder",
"crates/katana/runner",
"crates/katana/runner/runner-macro",
"crates/katana/storage/codecs",
"crates/katana/storage/codecs/derive",
"crates/katana/storage/db",
"crates/katana/storage/provider",
"crates/katana/tasks",
"crates/metrics",
"crates/saya/core",
"crates/saya/provider",
"crates/sozo/signers",
"crates/torii/client",
"crates/torii/server",
"crates/torii/types-test",
"examples/spawn-and-move",
]
[workspace.package]
edition = "2021"
license = "Apache-2.0"
license-file = "LICENSE"
repository = "https://github.com/dojoengine/dojo/"
version = "0.7.0-alpha.0"
[profile.performance]
codegen-units = 1
incremental = false
inherits = "release"
lto = "fat"
[workspace.dependencies]
common = { path = "crates/common" }
# metrics
dojo-metrics = { path = "crates/metrics" }
# dojo-lang
dojo-bindgen = { path = "crates/dojo-bindgen" }
dojo-core = { path = "crates/dojo-core" }
dojo-lang = { path = "crates/dojo-lang" }
dojo-test-utils = { path = "crates/dojo-test-utils" }
dojo-types = { path = "crates/dojo-types" }
dojo-world = { path = "crates/dojo-world" }
# katana
katana-codecs = { path = "crates/katana/storage/codecs" }
katana-codecs-derive = { path = "crates/katana/storage/codecs/derive" }
katana-core = { path = "crates/katana/core", default-features = false }
katana-db = { path = "crates/katana/storage/db" }
katana-executor = { path = "crates/katana/executor", default-features = false }
katana-primitives = { path = "crates/katana/primitives" }
katana-provider = { path = "crates/katana/storage/provider" }
katana-rpc = { path = "crates/katana/rpc/rpc" }
katana-rpc-api = { path = "crates/katana/rpc/rpc-api" }
katana-rpc-types = { path = "crates/katana/rpc/rpc-types" }
katana-rpc-types-builder = { path = "crates/katana/rpc/rpc-types-builder" }
katana-runner = { path = "crates/katana/runner" }
katana-tasks = { path = "crates/katana/tasks" }
# torii
torii-client = { path = "crates/torii/client" }
torii-core = { path = "crates/torii/core" }
torii-graphql = { path = "crates/torii/graphql" }
torii-grpc = { path = "crates/torii/grpc" }
torii-relay = { path = "crates/torii/libp2p" }
torii-server = { path = "crates/torii/server" }
# saya
saya-core = { path = "crates/saya/core" }
saya-provider = { path = "crates/saya/provider" }
# sozo
sozo-ops = { path = "crates/sozo/ops" }
sozo-signers = { path = "crates/sozo/signers" }
anyhow = "1.0.80"
assert_matches = "1.5.0"
async-trait = "0.1.68"
base64 = "0.21.2"
cairo-lang-compiler = "=2.5.4"
cairo-lang-debug = "=2.5.4"
cairo-lang-defs = "=2.5.4"
cairo-lang-diagnostics = "=2.5.4"
cairo-lang-filesystem = "=2.5.4"
cairo-lang-formatter = "=2.5.4"
cairo-lang-language-server = "=2.5.4"
cairo-lang-lowering = "=2.5.4"
cairo-lang-parser = "=2.5.4"
cairo-lang-plugins = { version = "=2.5.4", features = [ "testing" ] }
cairo-lang-project = "=2.5.4"
cairo-lang-semantic = { version = "=2.5.4", features = [ "testing" ] }
cairo-lang-sierra = "=2.5.4"
cairo-lang-sierra-generator = "=2.5.4"
cairo-lang-sierra-to-casm = "=2.5.4"
cairo-lang-starknet = "=2.5.4"
cairo-lang-syntax = "=2.5.4"
cairo-lang-test-plugin = "=2.5.4"
cairo-lang-test-runner = "=2.5.4"
cairo-lang-test-utils = "=2.5.4"
cairo-lang-utils = "=2.5.4"
cairo-proof-parser = { git = "https://github.com/cartridge-gg/cairo-proof-parser", tag = "v0.3.0" }
cairo-vm = "0.9.2"
camino = { version = "1.1.2", features = [ "serde1" ] }
chrono = { version = "0.4.24", features = [ "serde" ] }
clap = { version = "4.5.4", features = [ "derive" ] }
clap_complete = "4.3"
console = "0.15.7"
convert_case = "0.6.0"
crypto-bigint = { version = "0.5.3", features = [ "serde" ] }
derive_more = "0.99.17"
flate2 = "1.0.24"
futures = "0.3.28"
hex = "0.4.3"
indoc = "1.0.7"
itertools = "0.12.1"
jsonrpsee = { version = "0.16.2", default-features = false }
lazy_static = "1.4.0"
metrics = "0.21.1"
num-traits = { version = "0.2", default-features = false }
once_cell = "1.0"
parking_lot = "0.12.1"
pretty_assertions = "1.2.1"
rayon = "1.8.0"
regex = "1.10.3"
rpassword = "7.2.0"
salsa = "0.16.1"
scarb = { git = "https://github.com/software-mansion/scarb", tag = "v2.5.4" }
scarb-ui = { git = "https://github.com/software-mansion/scarb", tag = "v2.5.4" }
semver = "1.0.5"
serde = { version = "1.0.197", features = [ "derive" ] }
serde_json = { version = "1.0", features = [ "arbitrary_precision" ] }
serde_with = "2.3.1"
similar-asserts = "1.5.0"
smol_str = { version = "0.2.0", features = [ "serde" ] }
sqlx = { version = "0.7.2", features = [ "chrono", "macros", "regexp", "runtime-async-std", "runtime-tokio", "sqlite", "uuid" ] }
starknet = "0.9.0"
starknet-crypto = "0.6.1"
starknet_api = "0.7.0-dev.0"
strum = "0.25"
strum_macros = "0.25"
test-log = "0.2.11"
thiserror = "1.0.32"
tokio = { version = "1.32.0", features = [ "full" ] }
toml = "0.7.4"
tracing = "0.1.34"
tracing-subscriber = { version = "0.3.16", features = [ "env-filter", "json" ] }
url = { version = "2.4.0", features = [ "serde" ] }
reqwest = "0.12.4"
rstest = "0.18.2"
rstest_reuse = "0.6.0"
# server
hyper = "0.14.27"
warp = "0.3"
# gRPC
prost = "0.12"
tonic = "0.10"
tonic-build = "0.10.1"
tonic-reflection = "0.10.1"
tonic-web = "0.10.1"
# WASM-compatible gRPC deps
tonic-web-wasm-client = "0.4.0"
wasm-prost = { version = "0.11.9", package = "prost" }
wasm-tonic = { version = "0.9.2", default-features = false, features = [ "codegen", "gzip", "prost" ], package = "tonic" }
wasm-tonic-build = { version = "0.9.2", default-features = false, features = [ "prost" ], package = "tonic-build" }
alloy-primitives = { version = "0.7.1", default-features = false }
alloy-sol-types = { version = "0.7.1", default-features = false }
[patch.crates-io]
cairo-felt = { git = "https://github.com/dojoengine/cairo-rs.git", rev = "1031381" }
cairo-vm = { git = "https://github.com/dojoengine/cairo-rs.git", rev = "1031381" }
alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "5a5f29eb7d92a194bb2c67b1f879e84b2c6716ce" }
alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "5a5f29eb7d92a194bb2c67b1f879e84b2c6716ce" }
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "5a5f29eb7d92a194bb2c67b1f879e84b2c6716ce" }
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "5a5f29eb7d92a194bb2c67b1f879e84b2c6716ce"}
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "5a5f29eb7d92a194bb2c67b1f879e84b2c6716ce" }
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "5a5f29eb7d92a194bb2c67b1f879e84b2c6716ce" }
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "5a5f29eb7d92a194bb2c67b1f879e84b2c6716ce" }
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "5a5f29eb7d92a194bb2c67b1f879e84b2c6716ce" }