-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
134 lines (129 loc) · 5.01 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
[workspace]
resolver = "2"
members = ["dango/*", "grug/*"]
[workspace.package]
version = "0.0.0"
authors = ["Left Curve Software Limited (https://leftcurve.software/)"]
edition = "2021"
rust-version = "1.80"
documentation = "https://leftcurve.software/grug"
repository = "https://github.com/left-curve/grug"
license = "TBD"
keywords = ["blockchain", "wasm"]
categories = ["cryptography::cryptocurrencies"]
[workspace.dependencies]
alloy-dyn-abi = { version = "0.8.9", features = ["eip712"] }
alloy-primitives = "0.8.9"
anyhow = "1"
base64 = "0.22"
bip32 = "0.5"
blake2 = "0.10"
blake3 = "1"
bnum = "0.12"
borsh = "1"
byteorder = "1"
chrono = "0.4"
clap = "4"
clru = "0.6"
colored = "2"
colored_json = "5"
criterion = "0.5"
data-encoding = "2"
dialoguer = "0.11"
digest = "0.10"
dyn-clone = "1"
ed25519-dalek = "2"
elsa = "1"
glob = "0.3"
hex = "0.4"
hex-literal = "0.4"
home = "0.5"
ics23 = "0.12"
k256 = "0.13"
paste = "1"
p256 = "0.13"
proc-macro2 = "1"
proptest = "1"
prost = "0.13"
pyth-sdk = "0.8.0"
# The Pyth attester SDK is not published to crates.io.
# Import from GitHub, using the latest commit at this time.
# TODO: Ask pyth team to make a stable release and publish the crate.
pyth-wormhole-attester-sdk = { git = "https://github.com/pyth-network/pyth-crosschain", rev = "cd67cd8" }
pythnet-sdk = "2"
quote = "1"
rand = "0.8"
reqwest = "0.12"
ripemd = "0.1"
# Use the latest `master` branch of rust-rocksdb, which includes support for
# the user-defined timestamp feature:
# https://github.com/facebook/rocksdb/wiki/User-defined-Timestamp
# TODO: Update to v0.23.0 once released.
rocksdb = { git = "https://github.com/rust-rocksdb/rust-rocksdb", rev = "1710120" }
serde = "1"
serde_json = "1"
serde_with = "3"
sha2 = "0.10"
sha3 = "0.10"
signature = "2"
syn = "2"
tempfile = "3"
tendermint = "0.40"
tendermint-abci = "0.40"
tendermint-proto = "0.40"
tendermint-rpc = "0.40"
test-case = "3"
thiserror = "1"
tokio = "1"
toml = "0.8"
tracing = "0.1"
tracing-subscriber = "0.3"
wasmer = "5"
wasmer-middlewares = "5"
# Grug packages
grug = { path = "grug/std" }
grug-app = { path = "grug/app" }
grug-auth = { path = "grug/auth" }
grug-client = { path = "grug/client" }
grug-crypto = { path = "grug/crypto" }
grug-db-disk = { path = "grug/db-disk" }
grug-db-memory = { path = "grug/db-memory" }
grug-ffi = { path = "grug/ffi" }
grug-jmt = { path = "grug/jellyfish-merkle" }
grug-macros = { path = "grug/macros" }
grug-math = { path = "grug/math" }
grug-mock-account = { path = "grug/mock-account" }
grug-mock-bank = { path = "grug/mock-bank" }
grug-mock-taxman = { path = "grug/mock-taxman" }
grug-storage = { path = "grug/storage" }
grug-tester = { path = "grug/tester" }
grug-testing = { path = "grug/testing" }
grug-types = { path = "grug/types" }
grug-vm-rust = { path = "grug/vm-rust" }
grug-vm-wasm = { path = "grug/vm-wasm" }
# Dango packages
dango-account-factory = { path = "dango/account-factory" }
dango-account-margin = { path = "dango/account-margin" }
dango-account-safe = { path = "dango/account-safe" }
dango-account-spot = { path = "dango/account-spot" }
dango-amm = { path = "dango/amm" }
dango-auth = { path = "dango/auth" }
dango-bank = { path = "dango/bank" }
dango-genesis = { path = "dango/genesis" }
dango-ibc-transfer = { path = "dango/ibc-transfer" }
dango-lending = { path = "dango/lending" }
dango-oracle = { path = "dango/oracle" }
dango-taxman = { path = "dango/taxman" }
dango-testing = { path = "dango/testing" }
dango-token-factory = { path = "dango/token-factory" }
dango-types = { path = "dango/types" }
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = false
lto = true
overflow-checks = true
opt-level = 3
panic = "abort"
rpath = false