forked from Lightprotocol/light-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
127 lines (115 loc) · 5.54 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[workspace]
resolver = "2"
members = [
"hasher.rs/src/wasm",
"heap",
"circuit-lib/light-prover-client",
"circuit-lib/verifier",
"macros/aligned-sized",
"macros/light",
"macros/light-sdk-macros",
"merkle-tree/*",
"programs/account-compression",
"programs/system",
"programs/compressed-token",
"programs/registry",
"client",
"sdk",
"test-utils",
"utils",
"xtask",
"examples/name-service/programs/*",
"examples/token-escrow/programs/*",
"test-programs/account-compression-test/",
"test-programs/compressed-token-test/",
"test-programs/e2e-test/",
"test-programs/registry-test/",
"test-programs/system-cpi-test/",
"test-programs/system-test/",
"test-programs/sdk-test-program/programs/sdk-test/",
"forester-utils",
"forester",
"photon-api",
"light-program-test",
]
[profile.release]
overflow-checks = true
[profile.test]
opt-level = 2
[workspace.dependencies]
# Solana
solana-banks-client = "=1.18.22"
solana-banks-interface = "=1.18.22"
solana-program = "=1.18.22"
solana-sdk = "=1.18.22"
solana-program-test = "=1.18.22"
solana-client = "=1.18.22"
solana-cli-output = "=1.18.22"
solana-transaction-status = "=1.18.22"
solana-account-decoder = "=1.18.22"
solana-rpc = "=1.18.22"
spl-token = "=4.0.0"
spl-token-2022 = {version="3.0.0", no-default-features = true, features = ["no-entrypoint"]}
# Anchor
anchor-lang = "=0.29.0"
anchor-spl = "=0.29.0"
# Anchor compatibility
borsh = "0.10.0"
# Macro helpers
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["visit-mut", "full"] }
# Async ecosystem
tokio = { version = "1.39.1", features = ["rt", "macros", "rt-multi-thread"] }
async-trait = "0.1.82"
bb8 = "0.8.5"
# Logging
log = "0.4"
# Error handling
thiserror = "1.0"
# Light Protocol
light-client = { path = "client", version = "0.9.1" }
light-concurrent-merkle-tree = { path = "merkle-tree/concurrent", version = "1.1.0" }
light-hasher = { path = "merkle-tree/hasher", version = "1.1.0" }
light-indexed-merkle-tree = { path = "merkle-tree/indexed", version = "1.1.0" }
light-macros = { path = "macros/light", version = "1.1.0" }
light-merkle-tree-reference = { path = "merkle-tree/reference", version = "1.1.0" }
light-prover-client = { path = "circuit-lib/light-prover-client", version = "1.2.0" }
light-sdk = { path = "sdk", version = "0.11.0" }
light-sdk-macros = { path = "macros/light-sdk-macros", version = "0.4.0" }
light-utils = { path = "utils", version = "1.1.0" }
light-verifier = { path = "circuit-lib/verifier", version = "1.1.0" }
photon-api = { path = "photon-api", version = "0.45.0" }
forester-utils = { path = "forester-utils", version = "1.2.0" }
light-hash-set = { path = "merkle-tree/hash-set", version = "1.2.0" }
account-compression = { path = "programs/account-compression", version = "1.2.0", features = ["cpi"] }
light-compressed-token = { path = "programs/compressed-token", version = "1.2.0", features = ["cpi"] }
light-system-program = { path = "programs/system", version = "1.2.0", features = ["cpi"] }
light-registry = { path = "programs/registry", version = "1.2.0", features = ["cpi"]}
light-program-test = { path = "light-program-test", version = "0.1.0" }
# Math and crypto
num-bigint = "0.4.6"
num-traits = "0.2.19"
# HTTP client
reqwest = "0.11.26"
[patch.crates-io]
"solana-account-decoder" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-accounts-db" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-banks-client" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-banks-interface" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-banks-server" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-program" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-cli-output" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-program-test" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-program-runtime" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-rpc" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-rpc-client" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-rpc-client-api" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-runtime" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-sdk" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-sdk-macro" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-client" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-zk-token-sdk" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-frozen-abi" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-frozen-abi-macro" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }
"solana-transaction-status" = { git = "https://github.com/lightprotocol/agave", branch = "v1.18.22-enforce-cpi-tracking" }