-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (37 loc) · 1.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
[workspace]
resolver = "2"
members = [
"contracts/access-control",
"contracts/exploit",
"contracts/storage-key-collisions",
"contracts/denial-of-service",
"contracts/race-condition/deposit",
"contracts/race-condition/staking",
"integration-tests",
]
default-members = [
"contracts/access-control",
"contracts/exploit",
"contracts/storage-key-collisions",
"contracts/race-condition/deposit",
"contracts/race-condition/staking",
"contracts/denial-of-service",
]
[workspace.dependencies]
near-sdk = "5.3.0"
near-contract-standards = "5.3.0"
near-workspaces = "0.11.0"
tokio = "1.12.0"
serde_json = "1"
color-eyre = "0.6.3"
[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
[patch.crates-io]
parity-secp256k1 = { git = 'https://github.com/paritytech/rust-secp256k1.git' }