-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
62 lines (56 loc) · 2.08 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
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "solana-indexer"
version = "0.8.0"
description = "A library to index account transactions on Solana blockchain"
readme = "README.md"
license = "MIT"
resolver = "2"
[lib]
name = "solana_indexer"
crate-type = ["cdylib", "lib"]
[dependencies]
chrono = "0.4"
config = "0.14"
enum_extract = "0.1"
futures = "0.3"
http = "1.1"
prometheus-client = "0.22"
secrecy = { version = "0.8", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
sqlx = { version = "0.7", features = ["runtime-async-std-rustls", "postgres"] }
thiserror = "1"
tokio = { version = "1.37", features = ["full"] }
tracing = { version = "0.1", features = ["log"] }
anyhow = "1"
solana-client = "1.18.9"
solana-program = "1.18.9"
solana-sdk = "1.18.9"
solana-transaction-status = "1.18.9"
[dev-dependencies]
borsh = "1.4"
bs58 = "0.5"
uuid = { version = "1", features = ["v4"] }
[patch.crates-io]
# aes-gcm-siv 0.10.3 and curve25519-dalek 3.x pin zeroize to <1.4
# which conflicts with other dependencies requiring zeroize ^1.5.
# We’re patching both crates to unpin zeroize.
#
# For aes-gcm-siv we’re using the same revision Solana uses in
# an (as of now) unreleased commit, see
# https://github.com/solana-labs/solana/commit/01f1bf27994d9813fadfcd134befd3a449aaa0bd
#
# For curve25519-dalek we’re using commit from a PR, see
# https://github.com/dalek-cryptography/curve25519-dalek/pull/606
aes-gcm-siv = { git = "https://github.com/RustCrypto/AEADs", rev = "6105d7a5591aefa646a95d12b5e8d3f55a9214ef" }
curve25519-dalek = { git = "https://github.com/dalek-cryptography/curve25519-dalek", rev = "8274d5cbb6fc3f38cdc742b4798173895cd2a290" }