-
Notifications
You must be signed in to change notification settings - Fork 23
/
Cargo.toml
38 lines (32 loc) · 1.15 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
[workspace]
resolver = "2"
members = ["programs/*"]
[profile.release]
overflow-checks = true
lto = 'thin'
# Enable debug assert for the fixed crate in release mode
[profile.release.package.fixed]
debug-assertions = true
overflow-checks = true
[workspace.dependencies]
# Anchor
anchor-lang = { version = "0.29.0" }
anchor-client = { version = "0.29.0" }
anchor-spl = { version = "0.29.0", features = ["dex", "token"] }
# Solana
solana-program = "~1.17.18"
solana-sdk = "~1.17.18"
solana-program-test = "=1.17.18"
solana-banks-client = "~1.17.18"
solana-banks-interface = "~1.17.18"
solana-address-lookup-table-program = "~1.17.18"
solana-account-decoder = "~1.17.18"
spl-token = { version = "3.5.0", features = ["no-entrypoint"] }
spl-associated-token-account = { version = "1.1.3", features = ["no-entrypoint"] }
# Serialization/Deserialization
# Override anchor to use borsh with the const-generics feature
# Allows to borsh serialize arrays of any length
borsh = { version = "0.10.3", features = ["const-generics"] }
bytemuck = { version = "1.4.0", features = ["min_const_generics", "derive"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"