-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathCargo.toml
54 lines (47 loc) · 1.8 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
# 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]
resolver = "2"
members = [
"clients/cli",
#"clients/rust", omitted from workspace until a real client is generated
"clients/rust-legacy",
"confidential-transfer/ciphertext-arithmetic",
"confidential-transfer/elgamal-registry",
"confidential-transfer/proof-extraction",
"confidential-transfer/proof-generation",
"confidential-transfer/proof-tests",
"program",
]
[workspace.package]
authors = ["Anza Maintainers <[email protected]>"]
repository = "https://github.com/solana-program/token-2022"
homepage = "https://solana-program.com"
license = "Apache-2.0"
edition = "2021"
[workspace.lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frozen-abi", "no-entrypoint"))',
]
[workspace.metadata.cli]
solana = "2.1.0"
# Specify Rust toolchains for rustfmt, clippy, and build.
# Any unprovided toolchains default to stable.
[workspace.metadata.toolchains]
format = "nightly-2024-08-08"
lint = "nightly-2024-08-08"
[workspace.metadata.spellcheck]
config = "scripts/spellcheck.toml"
[workspace.metadata.release]
pre-release-commit-message = "Publish {{crate_name}} v{{version}}"
tag-message = "Publish {{crate_name}} v{{version}}"
consolidate-commits = false