This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
Copy pathCargo.toml
66 lines (60 loc) · 1.92 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
61
62
63
64
65
66
[profile.dev]
split-debuginfo = "unpacked"
# The curve25519-dalek crate uses the `simd` backend by default in v4 if
# possible, which has very slow performance on some platforms with opt-level 0,
# which is the default for `dev` and `test` builds. This slowdown causes
# certain interactions in the solana-test-validator, such as verifying ZK
# proofs in transactions, to take much more than 400ms, creating problems in
# the test environment. To give better performance in the solana-test-validator
# during tests and dev builds, override the opt-level to 3 for the crate.
[profile.dev.package.curve25519-dalek]
opt-level = 3
[workspace]
members = [
"binary-option/program",
"binary-oracle-pair/program",
"examples/rust/cross-program-invocation",
"examples/rust/custom-heap",
"examples/rust/logging",
"examples/rust/sysvar",
"examples/rust/transfer-lamports",
"examples/rust/transfer-tokens",
"governance/addin-mock/program",
"governance/addin-api",
"governance/program",
"governance/test-sdk",
"governance/tools",
"governance/chat/program",
"libraries/concurrent-merkle-tree",
"libraries/math",
"libraries/math-example",
"libraries/merkle-tree-reference",
"name-service/program",
"managed-token/program",
"shared-memory/program",
"stateless-asks/program",
#"token-collection/program",
"token-lending/cli",
"token-lending/flash_loan_receiver",
"token-lending/program",
"token-swap/program",
"token-swap/program/fuzz",
"token-upgrade/cli",
"token-upgrade/program",
"token-wrap/program",
"utils/cgen",
"utils/test-client",
]
exclude = [
]
resolver = "2"
[workspace.lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frozen-abi", "no-entrypoint"))',
]
[workspace.metadata.release]
pre-release-commit-message = "Publish {{crate_name}} v{{version}}"
tag-message = "Publish {{crate_name}} v{{version}}"
consolidate-commits = false