forked from helius-labs/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
130 lines (120 loc) · 3.02 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
128
129
130
[package]
default-run = "photon"
description = "Solana indexer for general compression"
edition = "2021"
license = "Apache-2.0"
name = "photon-indexer"
publish = true
readme = "README.md"
repository = "https://github.com/helius-labs/photon"
version = "0.50.0"
[[bin]]
name = "photon"
path = "src/main.rs"
[[bin]]
name = "photon-migration"
path = "src/migration/main.rs"
[[bin]]
name = "photon-openapi"
path = "src/openapi/main.rs"
[[bin]]
name = "photon-snapshotter"
path = "src/snapshot/snapshotter/main.rs"
[[bin]]
name = "photon-snapshot-loader"
path = "src/snapshot/loader/main.rs"
[[bin]]
name = "photon-tree-validator"
path = "src/tools/tree_validator/main.rs"
[dependencies]
anchor-lang = "0.29.0"
anyhow = "1.0.79"
async-std = { version = "1", features = ["attributes", "tokio1"] }
async-trait = "0.1.53"
base64 = "0.21.0"
borsh = "0.10.3"
bs58 = "0.4.0"
byteorder = "1.5.0"
cadence-macros = "1.2.0"
clap = { "version" = "4.5.2", features = ["derive"] }
dirs = "5.0.1"
env_logger = "0.10.0"
futures = "0.3.30"
hyper = "0.14.23"
indexmap = "2.2.6"
insta = { version = "1.34.0", features = ["json"] }
itertools = "0.12.1"
jsonrpsee = { version = "0.16.2", features = ["server", "macros"] }
jsonrpsee-core = { version = "0.16.2", features = ["server"] }
lazy_static = "1.4.0"
light-poseidon = "0.2.0"
log = "0.4.17"
once_cell = "1.19.0"
rstest = "0.18.2"
sea-orm = { version = "0.10.6", features = [
"macros",
"runtime-tokio-rustls",
"sqlx-postgres",
"sqlx-sqlite",
"with-chrono",
"mock",
] }
bytes = "1.7.1"
sea-orm-migration = { version = "0.10.6", features = [
"runtime-tokio-rustls",
"sqlx-postgres",
] }
serde = "1.0.140"
serde_json = "1.0.82"
solana-client = "1.18.0"
solana-program = "1.18.0"
solana-sdk = "1.18.0"
solana-transaction-status = "1.18.0"
light-concurrent-merkle-tree = "=1.1.0"
light-sdk = "0.11.0"
sqlx = { version = "0.6.2", features = [
"macros",
"runtime-tokio-rustls",
"postgres",
"sqlite",
"uuid",
"offline",
"json",
] }
thiserror = "1.0.31"
# time pinned because of https://github.com/launchbadge/sqlx/issues/3189
ark-bn254 = "0.4.0"
hex = "0.4.3"
num-bigint = "0.4.4"
num-traits = "0.2.18"
num_enum = "0.7.2"
reqwest = { version = "0.12.4", features = ["stream"] }
time = "0.3.36"
tokio = { version = "1.23.0", features = ["full"] }
tower = { version = "0.4.13", features = ["full"] }
tower-http = { version = "0.3.5", features = ["full"] }
tracing = "0.1.35"
tracing-subscriber = { version = "0.3.16", features = [
"json",
"env-filter",
"ansi",
] }
utoipa = { version = "4.2.0", features = ["yaml", "chrono"] }
yellowstone-grpc-client = "1.15.0"
yellowstone-grpc-proto = "1.14.0"
cadence = "1.4.0"
async-stream = "0.3.5"
rand = "0.8.5"
bincode = "1.3.3"
rust-s3 = "0.34.0"
lru = "0.12.0"
light-client = "0.9.1"
[dev-dependencies]
function_name = "0.3.0"
serial_test = "2.0.0"
[profile.dev]
# Do not produce debug info for ~40% faster incremental compilation.
debug = 0
# Some standard library files already come precompiled with debuginfo. We strip it for faster linking
# and smaller binaries.
strip = "debuginfo"