forked from linera-io/linera-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
145 lines (135 loc) · 4.09 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
[workspace]
members = [
"linera-base",
"linera-chain",
"linera-core",
"linera-execution",
"linera-rpc",
"linera-sdk",
"linera-sdk/wasm-tests",
"linera-service",
"linera-storage",
"linera-views",
"linera-views-derive",
]
exclude = [
"examples",
]
resolver = "2"
[workspace.dependencies]
heck = "0.4.1"
anyhow = "1.0.57"
async-graphql = "5.0.7"
async-graphql-axum = "5.0.5"
async-lock = "2.6.0"
async-stream = "0.3.5"
async-trait = "=0.1.58"
aws-config = "0.14.0"
aws-sdk-dynamodb = "0.14.0"
aws-sdk-s3 = "0.14.0"
aws-smithy-http = "0.44.0"
aws-types = "0.14.0"
axum = "0.6.2"
bcs = "0.1.3"
bincode = "1.3.3"
bytes = "1.2.1"
cargo_toml = "0.15.2"
chrono = "0.4.23"
colored = "2.0.0"
comfy-table = "6.1.4"
convert_case = "0.6.0"
criterion = "0.4.0"
custom_debug_derive = "0.5.1"
dashmap = "5.4.0"
derive_more = "0.99.17"
dirs = "5.0.0"
ed25519 = "1.2.0"
ed25519-dalek = { version = "1.0.1", features = ["batch", "serde"] }
futures = "0.3.24"
generic-array = { version = "0.14.4", features = ["serde"] }
hex = "0.4.3"
http = "0.2.7"
log = "0.4.17"
lru = "0.9.0"
metrics = "0.21.0"
metrics-exporter-tcp = "0.8.0"
metrics-util = "0.15.0"
linked-hash-map = "0.5.3"
once_cell = "1.17.1"
parse_duration = "2.1.1"
proc-macro2 = "1.0"
proptest = "1.0.0"
prost = "0.11"
quote = "1.0"
rand = "0.8.5"
rand07 = { package = "rand", version = "0.7.3" }
reqwest = "0.11.14"
rocksdb = "0.19.0"
serde = { version = "1.0.152", features = ["derive"] }
serde_bytes = "0.11.8"
serde_json = "1.0.93"
serde_yaml = "0.8.21"
serde-name = "0.2.0"
serde-reflection = "0.3.5"
sha3 = "0.10.6"
similar-asserts = "1.1.0"
static_assertions = "1.1.0"
structopt = "0.3.23"
syn = "1.0.107"
tempfile = "3.2.0"
test-case = "3.0.0"
test-log = { version = "0.2.11", default-features = false, features = ["trace"] }
test-strategy = "0.2.0"
thiserror = "1.0.38"
tonic = "0.8"
tonic-build = "0.8"
tonic-health = "0.8"
tokio = "1.25.0"
tokio-stream = "0.1.11"
tokio-test = "0.4.2"
tokio-util = "0.6.9"
toml = "0.7.3"
tower-http = "0.4.0"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.16", default-features = false, features = ["env-filter"] }
wasm-encoder = "0.24.1"
wasmer = { version = "=3.1.1", features = ["singlepass"] }
wasmer-middlewares = "3.1.1"
wasmparser = "0.101.1"
wasmtime = "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.2.0", path = "./linera-base" }
linera-chain = { version = "0.2.0", path = "./linera-chain" }
linera-core = { version = "0.2.0", path = "./linera-core", default-features = false }
linera-execution = { version = "0.2.0", path = "./linera-execution", default-features = false }
linera-rpc = { version = "0.2.0", path = "./linera-rpc" }
linera-storage = { version = "0.2.0", path = "./linera-storage", default-features = false }
linera-views = { version = "0.2.0", path = "./linera-views", default-features = false }
linera-views-derive = { version = "0.2.0", path = "./linera-views-derive" }
counter = { path = "./examples/counter" }
meta-counter = { path = "./examples/meta-counter" }
reentrant-counter = { path = "./examples/reentrant-counter" }
fungible = { path = "./examples/fungible" }
crowd-funding = { path = "./examples/crowd-funding" }
matching-engine = { path = "./examples/matching-engine" }
social = { path = "./examples/social" }
[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