-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
60 lines (54 loc) · 1.58 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
53
54
55
56
57
58
59
60
[workspace]
resolver = "2"
members = [
"lib",
"client/rust",
"programs/manifest",
"programs/wrapper",
"programs/ui-wrapper",
]
[workspace.dependencies]
shank = "0.4.2"
spl-token = { version = "=3.5.0", features = ["no-entrypoint"] }
spl-token-2022 = { version = "3.0.4", features = [ "no-entrypoint" ] }
solana-program = "1.18.1"
borsh = "=0.10"
bytemuck = "1.7.2"
num_enum = "=0.5.11"
thiserror = "1.0.38"
solana-security-txt = "1.1.0"
static_assertions = "=1.1.0"
solana-invoke = "=0.1.0"
anyhow = "1.0.66"
solana-program-test = "1.16.7"
solana-logger = "1.16.7"
solana-sdk = "1.16.7"
tokio = "1.28.0"
nondet = { git = "https://github.com/Certora/solana-cvt.git" }
cvt = { git = "https://github.com/Certora/solana-cvt.git" }
early-panic = { git = "https://github.com/Certora/solana-cvt.git" }
cvt-macros = { git = "https://github.com/Certora/solana-cvt.git" }
calltrace = { git = "https://github.com/Certora/solana-cvt.git" }
solana_cvt = { git = "https://github.com/Certora/solana-cvt.git" }
hook_macro = { git = "https://github.com/Certora/solana-cvt.git" }
vectors = { git = "https://github.com/Certora/solana-cvt.git", branch="dev-vector-borsh" }
arrayref = "0.3.7"
# https://doc.rust-lang.org/cargo/reference/profiles.html
[profile.release]
codegen-units = 1
lto = "fat"
overflow-checks = true
strip = "debuginfo"
[profile.release.build-override]
codegen-units = 1
incremental = false
opt-level = 3
strip = "debuginfo"
# Test with release settings so CU usage is accurately measured.
[profile.test]
lto = "fat"
opt-level = 3
debug = false
codegen-units = 1
overflow-checks = true
strip = "debuginfo"