-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
52 lines (45 loc) · 1.22 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
[workspace]
members = [
"contracts/voting_snapshot",
"contracts/voting_contract",
"contracts/secret_contract",
"common",
]
resolver = "2"
[profile.release]
codegen-units = 1
# Tell `rustc` to optimize for small code size.
opt-level = "z"
lto = true
debug = false
panic = "abort"
# Opt into extra safety checks on arithmetic operations https://stackoverflow.com/a/64136471/249801
overflow-checks = true
[workspace.package]
authors = ["Near NDC"]
edition = "2021"
version = "0.1.0"
repository = "https://github.com/near-ndc/voting-v2"
license = "Mozilla Public License 2.0"
[workspace.dependencies]
# Near ecosystem
near-sdk = "5.0.0"
near-workspaces = { version = "0.10.0", features = ["unstable"] }
borsh = "1.0"
# Secret ecosystem
cosmwasm-std = { package = "secret-cosmwasm-std", version = "1.1.11" }
cosmwasm-storage = { package = "secret-cosmwasm-storage", version = "1.1.11" }
secret-toolkit-storage = "0.10.0"
cosmwasm-schema = "1.0.0"
# General
serde_json = "1"
tokio = { version = "1.12.0", features = ["full"] }
anyhow = "1.0"
schemars = { version = "0.8.11" }
serde = { version = "1.0" }
thiserror = { version = "1.0" }
# crypto
secp256k1 = "0.28"
aes-siv = "0.7.0"
bs58 = "0.5"
common-contracts = { path = "common" }