forked from riptl/solana-snapshot-etl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
71 lines (66 loc) · 1.93 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
[package]
name = "solana-snapshot-etl"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
documentation = "https://docs.rs/solana-snapshot-etl"
description = "Efficiently unpack Solana snapshots"
authors = ["Richard Patel <[email protected]>"]
categories = ["cryptography::cryptocurrencies", "database"]
keywords = ["solana"]
[dependencies]
clap = { version = "3.2.14", features = ["derive"] }
log = "0.4.17"
solana-runtime = "1.11.3"
thiserror = "1.0.31"
bincode = "1.3.3"
serde = { version = "1.0.139", features = ["derive"] }
solana-sdk = "1.11.3"
memmap2 = "0.5.5"
itertools = "0.10.3"
tar = "0.4.38"
zstd = "0.11.2"
# Binary deps
borsh = { version = "0.9.3", optional = true }
crossbeam = { version = "0.8.2", optional = true }
csv = { version = "1.1.6", optional = true }
env_logger = { version = "0.9.0", optional = true }
indicatif = { version = "0.17.0-rc.11", optional = true }
libloading = { version = "0.7.3", optional = true }
num_cpus = { version = "1.13.1", optional = true }
reqwest = { version = "0.11.11", features = ["blocking"], optional = true }
rusqlite = { version = "0.28.0", features = ["bundled"], optional = true }
serde_json = { version = "1.0.82", optional = true }
solana-geyser-plugin-interface = { version = "1.11.3", optional = true }
solana-program = { version = "1.11.3", optional = true }
solana_rbpf = { version = "0.2.31", optional = true }
spl-token = { version = "3.3.0", optional = true }
json5 = { version = "0.4.1", optional = true }
[features]
parallel = []
standalone = [
"borsh",
"crossbeam",
"csv",
"env_logger",
"indicatif",
"libloading",
"num_cpus",
"parallel",
"reqwest",
"rusqlite",
"serde_json",
"solana-geyser-plugin-interface",
"solana-program",
"spl-token",
"json5",
]
opcode_stats = [
"solana_rbpf",
]
[[bin]]
name = "solana-snapshot-etl"
required-features = ["standalone"]
[[bin]]
name = "solana-opcode-stats"
required-features = ["opcode_stats"]