-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
198 lines (172 loc) · 6.69 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
[workspace]
members = [
"crates/*",
"contracts/cosmwasm/*",
"mantis/node",
"mantis/blackbox_rs",
]
exclude = ["contracts/cosmwasm/node_modules/", "contracts/cosmwasm/dist", "contracts/cosmwasm/schema",]
resolver = "2"
package.version = "0.4.0"
[workspace.lints.rust]
unsafe = "deny"
unused_imports = "warn"
unused_must_use = "warn"
bad_style = "warn"
trivial_casts = "warn"
[workspace.lints.clippy]
todo = "warn"
let_unit_value = "allow"
[workspace.dependencies]
displaydoc = { version = "^0.2.0", default-features = false }
cvm = { path = "./crates/cvm", default-features = false }
blackbox_rs = { path = "./node/blackbox_rs", default-features = false }
cvm-route = { path = "./crates/cvm-route", default-features = false }
mantis-cw = { path = "./crates/mantis-cw", default-features = false }
cvm-runtime = { path = "./crates/cvm-runtime", default-features = false }
cvm-runtime-exchange = { path = "./crates/cvm-runtime-exchange", default-features = false }
derive_more = { version = "0.99.17", default-features = false, features = [
"add",
"add_assign",
"as_ref",
"constructor",
"deref",
"deref_mut",
"display",
"error",
"from",
"from_str",
"index",
"index_mut",
"into",
"into_iterator",
"is_variant",
"mul",
"mul_assign",
"not",
"sum",
"try_into",
"unwrap",
] }
log = { version = "0.4.21", default_features = false, features = [
"std",
"serde",
"kv_std",
"kv_sval",
"kv_serde",
] }
env_logger = { version = "0.11.3", default-features = false, features = [
"default",
"color",
"auto-color",
"humantime",
"regex",
"unstable-kv",
] }
hex = { version = "^0.4.3", default-features = false }
enumn = { version = "0.1.13", default-features = false }
prost-build = { version = "^0.12.2" }
bech32 = { version = "^0.9.0", default-features = false }
cosmwasm-std = { version = "1.5.0", features = [
"iterator",
], default-features = false }
parity-scale-codec = { version = "3.6.5", default-features = false }
cw20 = { version = "^1.1.2", default-features = false }
cw-controllers = { version = "^1.1.1", default-features = false }
sylvia = { version = "^0.9.1", default-features = false }
schemars = { version = "^0.8.16", default-features = false }
cosmwasm-schema = { version = "1.5.0", default-features = false }
serde = { version = "1.0.192", default-features = false }
cw-storage-plus = { version = "^1.2.0", features = [
"iterator",
], default-features = false }
itertools = { version = "0.12.0", default-features = false }
cw-multi-test = {version = "^1.0.0", default-features = false}
num-integer = { version = "0.1.45", default-features = false }
num-rational = {git = "https://github.com/dzmitry-lahoda-forks/num-rational.git", rev = "94f6282ae92cbd49bb60b286269f2a365b0c4e43", default-features = false}
num-traits = { version = "^0.2.18", default-features = false }
ibc-proto = { version = "0.39.1", default-features = false }
serde-json-wasm = { version = "1.0.0", default-features = false }
serde_json ={ version = "1.0.64", default-features = false, features = [] }
clap = { version = "^4.5.4", features = ["derive"], default-features = false}
cosmrs = { version = "^0.16.0", features = [
"cosmwasm",
"rpc",
"grpc",
"bip32",
"dev",
], default-features = false }
tokio = { version = "^1.37.0", features = ["full"] }
cosmos-sdk-proto = { version = "^0.21.1", default-features = false}
tonic = { version = "^0.11.0" }
rand = { version = "^0.8.5", default-features = false }
rust_decimal = {version = "1.33", default-features = false}
rust_decimal_macros = {version = "1.33", default-features = false}
rand_distr = "^0.4.3"
strum = {version = "^0.25", default-features = false, features = ["derive"]}
strum_macros = "^0.25"
tuples = { version = "^1.14.0" }
serde-cw-value = { git = "https://github.com/dzmitry-lahoda-forks/serde-cw-value.git", branch = "dz/3", default-features = false }
petgraph = {version = "*", default-features = false , features = ["graphmap", "stable_graph", "matrix_graph", "serde-1",
]}
no-panic = "^0.1"
scale-info = { version = "^2.10.0", default-features = false }
prost = { version = "^0.12.3", default-features = false }
bip32 = { version = "^0.5.1", default-features = false, features = [
"alloc",
"secp256k1",
"mnemonic",
"bip39",
] }
prost-types = { version = "^0.12.3", default-features = false }
sha2 = { version = "^0.10.8", default-features = false }
thiserror = { version = "^1.0.50", default-features = false, package = "thiserror-core" }
# no XCM until it has decent support for cosmwasm and wasm32 std https://github.com/paritytech/polkadot-sdk/pull/1454
# xcm = { version = "11.0.0", default-features = false, package = "staging-xcm" }
cw-utils = { version = "^1.0.3", default-features = false }
cw2 = { version = "^1.1.2", default-features = false }
# upgrade leads to float issue, fix it via https://medium.com/cosmwasm/debugging-floating-point-generation-in-rust-wasm-smart-contract-f47d833b5fba
ibc-apps-more = { git = "https://github.com/ComposableFi/ibc-apps-more-rs.git", rev = "2e665779e1abe316e263633b5470104807605b17", default-features = false }
ibc-app-transfer-types = { git = "https://github.com/dzmitry-lahoda-forks/ibc-rs.git", branch = "dz/14", default-features = false, features = [
"serde",
] }
ibc-core-host-types = { git = "https://github.com/dzmitry-lahoda-forks/ibc-rs.git", branch = "dz/14", default-features = false, features = [
"serde",
] }
ibc-primitives = { git = "https://github.com/dzmitry-lahoda-forks/ibc-rs.git", branch = "dz/14", default-features = false, features = [
"serde",
] }
primitive-types = { version = "*", default-features = false, features = [
"serde_no_std",
] }
neutron-sdk = { version = "^0.10.0", default-features = false }
osmosis-std = { version = "^0.22.0", default-features = false }
astroport = { version = "^3.6.1", default-features = false }
ndarray = { version = "^0.15.6", default-features = false }
good_lp = { version = "^1.7", default-features = false }
cw-mantis-order = { path = "./contracts/cosmwasm/order", features = [
"json-schema",
"std",
] }
cw-cvm-executor = { path = "./contracts/cosmwasm/executor", features = [
"json-schema",
"std",
] }
cw-cvm-outpost = { path = "./contracts/cosmwasm/outpost", features = [
"json-schema",
"std",
] }
bounded-collections = { version = "0.2.0", default-features = false }
fraction = { version = "0.15.1", default-features = false }
cw-orch = { version = "0.21.2", default-features = false}
[profile.deployment]
inherits = "release"
codegen-units = 1
incremental = false
rpath = false
lto = true
overflow-checks = true
opt-level = 3 # 3 gave bigger size of binary
debug = false
debug-assertions = false
# panic = "abort"