forked from linera-io/linera-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
190 lines (180 loc) · 6.07 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
[workspace]
members = [
"linera-base",
"linera-chain",
"linera-core",
"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-sdk/wasm-tests",
"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.dependencies]
heck = "0.4.1"
anyhow = "1.0.75"
assert_matches = "1.5.0"
async-graphql = "5.0.10"
async-graphql-axum = "5.0.10"
async-lock = "2.8.0"
async-trait = "0.1.74"
aws-config = "1.1.5"
aws-sdk-dynamodb = "1.14.0"
aws-sdk-s3 = "1.15.0"
aws-smithy-http = "0.60.5"
aws-types = "1.1.5"
aws-smithy-types = "1.1.5"
axum = "0.6.20"
base64 = "0.21.7"
bcs = "0.1.6"
bincode = "1.3.3"
bytes = "1.5.0"
cargo_metadata = "0.18.1"
cargo_toml = "0.15.3"
cfg-if = "1.0.0"
cfg_aliases = "0.2.0"
chrono = { version = "0.4.31", default-features = false }
clap = { version = "4", features = ["cargo", "derive", "env"] }
clap-markdown = "0.1.3"
colored = "2.0.4"
comfy-table = "6.2.0"
convert_case = "0.6.0"
criterion = { version = "0.4.0", default-features = false }
custom_debug_derive = "0.5.1"
dashmap = "5.5.3"
derive_more = "0.99.17"
dirs = "5.0.1"
ed25519 = "2.2"
ed25519-dalek = { version = "2.1.1", features = ["batch", "serde"] }
either = "1.9.0"
frunk = "0.4.2"
fs-err = { version = "2.11.0", features = ["tokio"] }
fs_extra = "1.3.0"
futures = "0.3.29"
generic-array = { version = "0.14.7", features = ["serde"] }
getrandom = "0.2.11"
hex = "0.4.3"
http = "0.2.9"
glob = "0.3.1"
insta = "1.34.0"
log = "0.4.20"
lru = "0.9.0"
linked-hash-map = "0.5.6"
once_cell = "1.18.0"
oneshot = "0.1.6"
port-selector = "0.1.6"
prettyplease = "0.2.15"
prometheus = "0.13.3"
proc-macro-error = "1.0.4"
proc-macro2 = "1.0"
proptest = { version = "1.3.1", default-features = false }
prost = "0.12.3"
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 }
k8s-openapi = { version = "0.20.0", features = ["v1_28"] }
pathdiff = "0.2.1"
kube = "0.87.1"
rcgen = "0.11.1"
reqwest = { version = "0.11.14", default-features = false, features = ["rustls-tls"] }
rocksdb = "0.21.0"
scylla = "0.10.1"
semver = "1.0.20"
serde = { version = "1.0.190", features = ["derive"] }
serde_bytes = "0.11.12"
serde_json = "1.0.107"
serde_yaml = "0.8.26"
serde-name = "0.2.1"
serde-reflection = "0.3.6"
sha3 = "0.10.8"
similar-asserts = "1.5.0"
static_assertions = "1.1.0"
syn = "2.0.39"
tempfile = "3.8.1"
test-case = "3.2.1"
test-log = { version = "0.2.13", default-features = false, features = ["trace"] }
test-strategy = "0.2.1"
thiserror = "1.0.50"
tonic = { version = "0.10.2", default-features = false }
tonic-build = { version = "0.10.2", default-features = false }
tonic-health = "0.10.2"
tokio = "1.33.0"
tokio-stream = "0.1.14"
tokio-test = "0.4.3"
tokio-util = "0.6.10"
toml = "0.7.8"
tower-http = "0.4.4"
tower = "0.4.13"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["env-filter"] }
wasm-encoder = "0.24.1"
wasmer = { version = "=3.1.1", features = ["singlepass"] }
wasmer-middlewares = "=3.1.1"
wasmer-vm = { version = "=3.1.1" }
wasmparser = "0.101.1"
wasmtime = "1.0"
webassembly-test = "0.1.0"
wit-bindgen-guest-rust = { version = "0.2.0", package = "linera-wit-bindgen-guest-rust" }
wit-bindgen-host-wasmer-rust = { version = "0.2.0", package = "linera-wit-bindgen-host-wasmer-rust" }
wit-bindgen-host-wasmtime-rust = { version = "0.2.0", package = "linera-wit-bindgen-host-wasmtime-rust" }
linera-base = { version = "0.9.0", path = "./linera-base" }
linera-chain = { version = "0.9.0", path = "./linera-chain" }
linera-core = { version = "0.9.0", path = "./linera-core", default-features = false }
linera-execution = { version = "0.9.0", path = "./linera-execution", default-features = false }
linera-indexer = { path = "./linera-indexer/lib" }
linera-indexer-example = { path = "./linera-indexer/example" }
linera-indexer-graphql-client = { path = "./linera-indexer/graphql-client" }
linera-indexer-plugins = { path = "./linera-indexer/plugins" }
linera-rpc = { version = "0.9.0", path = "./linera-rpc" }
linera-sdk = { version = "0.9.0", path = "./linera-sdk" }
linera-storage = { version = "0.9.0", path = "./linera-storage", default-features = false }
linera-version = { version = "0.9.0", path = "./linera-version" }
linera-views = { version = "0.9.0", path = "./linera-views", default-features = false }
linera-views-derive = { version = "0.9.0", path = "./linera-views-derive" }
linera-witty = { version = "0.9.0", path = "./linera-witty" }
linera-witty-macros = { version = "0.9.0", path = "./linera-witty-macros" }
linera-sdk-derive = { version = "0.9.0", path = "./linera-sdk-derive" }
linera-service = { version = "0.9.0", path = "./linera-service" }
linera-service-graphql-client = { version = "0.9.0", path = "./linera-service-graphql-client" }
counter = { path = "./examples/counter" }
meta-counter = { path = "./examples/meta-counter" }
fungible = { path = "./examples/fungible" }
native-fungible = { path = "./examples/native-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.wasmer]
opt-level = 3
[profile.dev.package.wasmer-middlewares]
opt-level = 3
[profile.dev.package.wasmparser]
opt-level = 3
[profile.dev.package.wasmtime]
opt-level = 3