-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
90 lines (85 loc) · 2.46 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
[workspace]
members = ["packages/*", "contracts/*"]
resolver = "2"
[workspace.package]
edition = "2021"
version = "0.11.0"
license = "Apache-2.0"
repository = "https://github.com/babylonlabs-io/babylon-contract"
authors = ["Babylon Labs Ltd. <[email protected]>"]
publish = false
[workspace.metadata.scripts]
gen-proto = "./scripts/protocgen.sh"
gen-data = "go run datagen/*.go"
gen-schema = "./scripts/schema.sh"
optimize = "./scripts/optimizer.sh"
precommit = "./scripts/precommit.sh"
lint = "./scripts/lint.sh"
fix-lint = "./scripts/fix-lint.sh"
integration = "./scripts/integration_test.sh"
[workspace.dependencies]
anybuf = { version = "0.5.0" }
babylon-apis = { path = "./packages/apis" }
babylon-proto = { path = "./packages/proto" }
babylon-bitcoin = { path = "./packages/bitcoin" }
babylon-btcstaking = { path = "./packages/btcstaking" }
babylon-contract = { path = "./contracts/babylon" }
eots = { path = "./packages/eots" }
anyhow = "1.0.82"
bitcoin = "0.31.1"
bitvec = "1"
bech32 = "0.9.1"
blst = "0.3.11"
cosmos-sdk-proto = { version = "0.19.0", default-features = false, features = [
"cosmwasm",
] }
cosmwasm-derive = "2.1.4"
cosmwasm-schema = "2.1.4"
cosmwasm-std = { version = "2.1.4", default-features = false, features = [
"std",
"abort",
"staking",
"stargate",
"cosmwasm_2_0",
] }
cw2 = "2.0.0"
cw-controllers = "2.0.0"
cw-multi-test = { version = "2.0.1", features = [ "staking", "cosmwasm_1_1", "cosmwasm_2_0" ] }
cw-storage-plus = "2.0.0"
cw-utils = "2.0.0"
derivative = "2"
digest = "0.10"
hex = "0.4.3"
ics23 = { version = "0.9.0", default-features = false, features = [
"host-functions",
] }
prost = "0.11.9"
schemars = "0.8.3"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10.6"
tendermint-proto = "0.32.2"
thiserror = "1.0.40"
rust_decimal = "1.35"
k256 = { version = "0.13.1", default-features = false, features = ["schnorr"] }
# dev deps
cosmwasm-vm = { version = "2.1.4", default-features = false, features = [
"iterator",
"stargate",
] }
assert_matches = "1"
criterion = { version = "0.5.0" }
rand = "0.8.5"
pbjson-types = "0.5.1"
thousands = "0.2.0"
cargo_metadata = "0.18.1"
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
lto = true
panic = 'abort'
rpath = false
opt-level = 3
overflow-checks = true
incremental = false