-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
46 lines (42 loc) · 1.11 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
[workspace]
resolver = "1"
members = [
"voting_body",
"elections",
"nominations",
"integrations",
"common",
"congress",
]
[workspace.package]
edition = "2021"
license = "Mozilla Public License Version 2.0"
repository = "https://github.com/near-ndc/i-am-human"
authors = [
"NDC GWG (https://near.social/#/mob.near/widget/ProfilePage?accountId=govworkinggroup.near)",
]
[profile.release]
codegen-units = 1
# "s" = optimize for binary size ("z" would additionally turn off loop vectorization)
# 3 all optimiations
opt-level = "s"
# link time optimization
lto = true
panic = "abort"
overflow-checks = true
debug = false
debug-assertions = false
rpath = false
[workspace.dependencies]
near-sdk = "^4.1.1"
uint = { version = "^0.9.5", default-features = false }
serde_json = "^1.0"
thiserror = "1.0"
itertools = "^0.11"
# workspace doesn't have dev-dependencies field, so we have to put the dependencies here
# https://doc.rust-lang.org/cargo/reference/workspaces.html
tokio = { version = "1.28.0", features = ["full"] }
near-workspaces = "0.8.0"
near-primitives = "0.17.0"
near-units = "0.2.0"
anyhow = "1.0"