-
Notifications
You must be signed in to change notification settings - Fork 164
/
Cargo.toml
234 lines (223 loc) · 7.68 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
[workspace]
members = [
"linera-base",
"linera-chain",
"linera-client",
"linera-core",
"linera-ethereum",
"linera-execution",
"linera-explorer",
"linera-indexer/example",
"linera-indexer/graphql-client",
"linera-indexer/lib",
"linera-indexer/plugins",
"linera-rpc",
"linera-sdk",
"linera-sdk-derive",
"linera-service",
"linera-service-graphql-client",
"linera-storage",
"linera-storage-service",
"linera-views",
"linera-views-derive",
"linera-witty",
"linera-witty-macros",
"linera-witty/test-modules",
]
exclude = ["examples", "scripts"]
resolver = "2"
[workspace.package]
version = "0.13.0"
authors = ["Linera <[email protected]>"]
repository = "https://github.com/linera-io/linera-protocol"
homepage = "https://linera.dev"
license = "Apache-2.0"
edition = "2021"
[workspace.dependencies]
heck = "0.4.1"
anyhow = "1.0.80"
assert_matches = "1.5.0"
async-graphql = "=7.0.2"
async-graphql-axum = "=7.0.2"
async-graphql-derive = "=7.0.2"
async-lock = "3.3.0"
async-trait = "0.1.77"
async-tungstenite = { version = "0.22", features = ["tokio-runtime"] }
aws-config = "1.1.7"
aws-sdk-dynamodb = "1.16.0"
aws-sdk-s3 = "1.17.0"
aws-smithy-http = "0.60.6"
aws-types = "1.1.7"
aws-smithy-types = "1.1.7"
axum = "0.7.4"
base64 = "0.22.0"
bcs = "0.1.6"
bincode = "1.3.3"
bytes = "1.5.0"
cargo_metadata = "0.18.1"
cargo_toml = "0.19.2"
cfg-if = "1.0.0"
cfg_aliases = "0.2.1"
chrono = { version = "0.4.35", default-features = false }
clap = { version = "4", features = ["cargo", "derive", "env"] }
clap-markdown = "0.1.3"
colored = "2.1.0"
comfy-table = "7.1.0"
convert_case = "0.6.0"
criterion = { version = "0.5.1", default-features = false }
custom_debug_derive = "0.6.1"
dashmap = "5.5.3"
derive_more = "1.0.0"
dirs = "5.0.1"
dyn-clone = "1.0.17"
ed25519-dalek = { version = "2.1.1", default-features = false, features = ["batch", "fast", "serde", "zeroize"] }
either = "1.10.0"
ethers = { version = "2.0.14", features = ["solc"] }
flarch = "0.7.0"
frunk = "0.4.2"
fs-err = "2.11.0"
fs4 = "0.8.2"
fs_extra = "1.3.0"
futures = "0.3.30"
genawaiter = "0.99.1"
generic-array = { version = "0.14.7", features = ["serde"] }
getrandom = "0.2.12"
hex = "0.4.3"
http = "1.1.0"
glob = "0.3.1"
gloo-storage = "0.3.0"
gloo-utils = "0.2.0"
indexed_db_futures = "0.4.1"
insta = "1.36.1"
is-terminal = "0.4.12"
linera-alloy = { version = "0.1.0", default-features = false }
log = "0.4.21"
lru = "0.12.3"
linked-hash-map = "0.5.6"
num-bigint = "0.4.3"
num-traits = "0.2.18"
oneshot = "0.1.6"
port-selector = "0.1.6"
prettyplease = "0.2.16"
prometheus = "0.13.3"
proc-macro-error = "1.0.4"
proc-macro2 = "1.0"
proptest = { version = "1.4.0", default-features = false, features = ["alloc"] }
prost = "0.13.2"
quote = "1.0"
rand = { version = "0.8.5", default-features = false }
rand_chacha = { version = "0.3.1", default-features = false }
rand_distr = { version = "0.4.3", default-features = false }
ruzstd = "0.7.1"
k8s-openapi = { version = "0.21.1", features = ["v1_28"] }
pathdiff = "0.2.1"
kube = "0.88.1"
rcgen = "0.12.1"
reqwest = { version = "0.11.24", default-features = false, features = ["rustls-tls"] }
rocksdb = "0.21.0"
scylla = "0.12.0"
semver = "1.0.22"
serde = { version = "1.0.197", features = ["derive"] }
serde_bytes = "0.11.14"
serde_json = "1.0.114"
serde_yaml = "0.8.26"
serde-name = "0.2.1"
serde-reflection = "0.3.6"
serde-wasm-bindgen = "0.6.5"
sha3 = "0.10.8"
similar-asserts = "1.5.0"
static_assertions = "1.1.0"
stdext = "0.3.3"
syn = "2.0.52"
tempfile = "3.10.1"
test-case = "3.3.1"
test-log = { version = "0.2.15", default-features = false, features = ["trace"] }
test-strategy = "0.3.1"
thiserror = "1.0.65"
thiserror-context = "0.1.1"
tonic = { version = "0.12", default-features = false }
tonic-build = { version = "0.12", default-features = false }
tonic-health = "0.12"
tonic-reflection = "0.12"
tonic-web = "0.12"
tonic-web-wasm-client = "0.6.0"
tokio = "1.36.0"
tokio-stream = "0.1.14"
tokio-test = "0.4.3"
tokio-util = "0.7.10"
toml = "0.8.10"
tower-http = "0.5.2"
tower = "0.4.13"
tracing = { version = "0.1.40", features = ["release_max_level_debug"] }
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["env-filter"] }
tracing-web = "0.1.3"
trait-variant = "0.1.1"
url = "2.4"
wasm-bindgen = "0.2.92"
wasm-bindgen-futures = "0.4.42"
wasm-bindgen-test = "0.3.42"
wasm-encoder = "0.24.1"
wasm-instrument = "0.4.0"
wasm_thread = "0.3.0"
wasmer = { package = "linera-wasmer", version = "4.4.0-linera.5", default-features = false }
wasmer-compiler-singlepass = { package = "linera-wasmer-compiler-singlepass", version = "4.4.0-linera.5", default-features = false, features = ["std", "unwind", "avx"] }
wasmparser = "0.101.1"
wasmtime = { version = "25.0.0", default-features = false, features = ["cranelift", "runtime", "std"] }
wasmtimer = "0.2.0"
webassembly-test = "0.1.0"
web-sys = "0.3.69"
web-time = "1.1.0"
wit-bindgen = "0.24.0"
zstd = "0.13.2"
linera-base = { version = "0.13.0", path = "./linera-base" }
linera-chain = { version = "0.13.0", path = "./linera-chain" }
linera-client = { version = "0.13.0", path = "./linera-client" }
linera-core = { version = "0.13.0", path = "./linera-core", default-features = false }
linera-ethereum = { version = "0.13.0", path = "./linera-ethereum", default-features = false }
linera-execution = { version = "0.13.0", path = "./linera-execution", default-features = false }
linera-indexer = { version = "0.13.0", path = "./linera-indexer/lib" }
linera-indexer-graphql-client = { version = "0.13.0", path = "./linera-indexer/graphql-client" }
linera-indexer-plugins = { version = "0.13.0", path = "./linera-indexer/plugins" }
linera-rpc = { version = "0.13.0", path = "./linera-rpc" }
linera-sdk = { version = "0.13.0", path = "./linera-sdk" }
linera-storage = { version = "0.13.0", path = "./linera-storage", default-features = false }
linera-storage-service = { version = "0.13.0", path = "./linera-storage-service", default-features = false }
linera-version = { version = "0.13.0", path = "./linera-version" }
linera-views = { version = "0.13.0", path = "./linera-views", default-features = false }
linera-views-derive = { version = "0.13.0", path = "./linera-views-derive" }
linera-witty = { version = "0.13.0", path = "./linera-witty" }
linera-witty-macros = { version = "0.13.0", path = "./linera-witty-macros" }
linera-witty-test-modules = { version = "0.13.0", path = "./linera-witty/test-modules" }
linera-sdk-derive = { version = "0.13.0", path = "./linera-sdk-derive" }
linera-service = { version = "0.13.0", path = "./linera-service" }
linera-service-graphql-client = { version = "0.13.0", path = "./linera-service-graphql-client" }
counter = { path = "./examples/counter" }
meta-counter = { path = "./examples/meta-counter" }
ethereum-tracker = { path = "./examples/ethereum-tracker" }
fungible = { path = "./examples/fungible" }
native-fungible = { path = "./examples/native-fungible" }
non-fungible = { path = "./examples/non-fungible" }
crowd-funding = { path = "./examples/crowd-funding" }
matching-engine = { path = "./examples/matching-engine" }
social = { path = "./examples/social" }
amm = { path = "./examples/amm" }
[profile.release]
debug = true
[profile.bench]
debug = true
# This section is experimental and requires to build `cargo-all-features` from the fork
# repository: https://github.com/ma2bd/cargo-all-features
[workspace.metadata.cargo-all-features]
skip_optional_dependencies = true
max_combination_size = 1
# Make sure to compile VMs with high optimization level
[profile.dev.package.linera-wasmer]
opt-level = 3
[profile.dev.package.wasmparser]
opt-level = 3
[profile.dev.package.wasmtime]
opt-level = 3
[patch.crates-io.indexed_db_futures]
version = "0.4.1"
git = "https://github.com/Twey/rust-indexed-db"
branch = "no-uuid-wasm-bindgen"