-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
102 lines (89 loc) · 3.54 KB
/
Copy pathCargo.toml
File metadata and controls
102 lines (89 loc) · 3.54 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
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
[workspace]
members = ["app/*", "contracts/*", "packages/*"]
exclude = ["tools/proto-compiler"]
resolver = "2"
[workspace.package]
edition = "2021"
version = "0.5.0"
license = "CC-BY-NC-ND-4.0"
exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
]
[workspace.dependencies]
thiserror = "1.0.38"
cosmwasm-std = { version = "1.5.4", default-features = false, features = ["cosmwasm_1_4"] }
cosmwasm-schema = "1.5.4"
cosmwasm-crypto = "1.5.4"
cosmwasm-vm = { version = "1.5.4", default-features = false, features = ["iterator"] }
cw-storage-plus = { version = "1.2.0", default-features = false }
cw-utils = "1.0.1"
cw-multi-test = "1.0.1"
cw2 = { version = "1" }
cw20 = { version = "1" }
cw20-base = { version = "1" }
serde = { version = "1.0.160", default-features = false }
serde_json = "1.0.116"
itertools = { version = "0.11.0", features = ["use_alloc"], default-features = false }
sha2 = { version = "0.10.6", default-features = false }
ripemd = { version = "0.1.3", default-features = false }
parking_lot = "0.12.1"
hex-literal = "0.4.1"
bytes = { version = "1.4.0", default-features = false }
hex = { version = "0.4.3", default-features = false }
prost = { version = "0.13", default-features = false }
prost-types = { version = "0.13", default-features = false }
tonic = "0.12.2"
tonic-reflection = "0.12.2"
tonic-web = "0.12.2"
http = "1"
tower-http = { version = "0.5", features = ["cors"] }
anyhow = { version = "1", default-features = false }
layer-abci = { path = "./packages/abci" }
layer-app = { path = "./packages/app" }
layer-cosmos = { path = "./packages/cosmos" }
layer-golem = { path = "./packages/golem" }
layer-proto = { path = "./packages/proto" }
layer-std = { path = "./packages/std" }
layer-storage = { path = "./packages/storage" }
layer-root = { path = "./contracts/root" }
tc-echo = { path = "./contracts/echo" }
tc-caller = { path = "./contracts/caller" }
tendermint = { version = "0.39.1", default-features = false }
tendermint-abci = "0.39.1"
tendermint-proto = "0.39.1"
tendermint-rpc = "0.39.1"
tracing = { version = "0.1.37", default-features = false }
opentelemetry = { version = "0.19.0", default-features = false }
opentelemetry-jaeger = "0.18.0"
tracing-opentelemetry = { version = "0.19.0", default-features = false }
tokio = { version = "1.28.0", features = ["rt-multi-thread", "macros"] }
tokio-stream = { version = "0.1.15", default-features = false }
futures = { version = "0.3.30", default-features = false }
cosmrs = { version = "0.13.0", default-features = false, features = ["cosmwasm"] }
cosmos-sdk-proto = { version = "0.18.0", default-features = false, features = ["cosmwasm"] }
cw-orch-core = { version = "1"}
abstract-cw-multi-test = { version = "1", default-features = false }
[profile.release]
# temporary to speed up testing
# lto = true
lto = false
opt-level = 3
overflow-checks = true
# We have a lot of heavy dependencies like wasmer / cosmwasm-vm and tests lag if they
# are not optimized. They should be cached the first time and not need expensive re-compiles,
# so this shouldn't slow down dev loop much
# (Note this doesn't apply to workspace, just dependencies)
# DEV: you can uncomment locally
# [profile.test.package."*"]
# opt-level = 3
[profile.release.package.tc-echo]
debug = false
debug-assertions = false
codegen-units = 1
incremental = false
# TODO: enabling these seems to break cargo...
# rpath = false
# lto = true
# panic = 'abort'