-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
42 lines (34 loc) · 942 Bytes
/
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
[package]
edition = "2018"
name = "usn"
version = "2.3.4"
[lib]
crate-type = ["cdylib"]
[dependencies]
easy-ml = "1.8.1"
getrandom = {version = "0.2", default-features = false, features = ["custom"]}
near-contract-standards = "=4.0.0-pre.7"
near-sdk = {version = "=4.0.0-pre.7", features = ["unstable"]}
partial-min-max = "0.4.0"
rand = {version = "0.8.5", default-features = false, features = ["std_rng"]}
uint = {version = "=0.9.0", default-features = false}
[profile.release]
codegen-units = 1
debug = false
lto = true
opt-level = "s"
overflow-checks = true
panic = "abort"
[profile.sandbox]
inherits = "release"
[profile.testnet]
inherits = "release"
[profile.mainnet]
inherits = "release"
[features]
# Enables testnet configuration if expicitly stated.
# It makes the USN contract use a testnet oracle.
testnet = []
# Enables mainnet configuration if expicitly stated.
# It makes the USN contract use a main oracle.
mainnet = []