forked from near-daos/sputnik-dao-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (37 loc) · 1.05 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
[workspace]
members = [
"astra",
"test-token",
"astra-factory",
"astra-staking",
]
[workspace.package]
edition = "2021"
license = "MIT"
repository = "https://github.com/near-ndc/astra"
authors = [
"Sputnik Devs <near-daos@protonmail.com>",
"NDC GWG (https://near.social/#/mob.near/widget/ProfilePage?accountId=govworkinggroup.near)",
]
[profile.release]
codegen-units = 1
# Tell `rustc` to optimize for small code size.
opt-level = "z"
lto = true
debug = true
panic = "abort"
# Opt into extra safety checks on arithmetic operations https://stackoverflow.com/a/64136471/249801
overflow-checks = true
[workspace.dependencies]
near-sdk = "^4.1.1"
near-contract-standards = "^4.1.1"
uint = { version = "^0.9.5", default-features = false }
serde_json = "^1.0"
hex = "0.4.2"
# workspace doesn't have dev-dependencies field, so we have to put the dependencies here
# https://doc.rust-lang.org/cargo/reference/workspaces.html
anyhow = "1.0.72"
tokio = { version = "1.29.1", features = ["full"] }
workspaces = "0.7.0"
near-primitives = "0.17.0"
near-units = "0.2.0"