forked from Zondax/namadexer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
95 lines (88 loc) · 2.82 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
[package]
name = "namadexer"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
#
[[bin]]
name = "server"
path = "src/bin/server.rs"
[[bin]]
name = "indexer"
path = "src/bin/indexer.rs"
[dependencies]
getrandom = { version = "0.2" }
async-trait = "0.1.51"
namada_sdk = { git = "https://github.com/anoma/namada", rev = "v0.31.4" }
#namada_sdk_32 = { package = "namada_sdk", git = "https://github.com/anoma/namada", rev = "v0.32.1" }
rand = { version = "0.8", default-features = false }
rand_core = { version = "0.6", default-features = false }
tokio = { version = "1.26.0", features = ["rt-multi-thread"] }
hex = { version = "0.4", features = ["serde"] }
http = "0.2.11"
futures-util = { version = "0.3", features = ["sink"] }
bytes = "1.0"
time = "0.3"
tracing-subscriber = { version = "0.3.17", features = [
"fmt",
"json",
"std",
"env-filter",
] }
tracing = { version = "0.1.37", features = ["attributes"] }
serde = { version = "1.0", features = ["derive"] }
config = { version = "0.13.3", features = [
"toml",
"serde_json",
], default-features = false }
axum = { version = "0.6.18", features = ["tracing", "tokio", "json", "query"] }
serde_derive = "1.0.164"
thiserror = "1.0.40"
serde_json = "1.0.97"
sqlx = { version = "0.6.3", features = [
"runtime-tokio-rustls",
"postgres",
"macros",
"json",
"offline",
"migrate",
] }
prost = "0.12.0"
prost-types = "0.12.0"
futures = "0.3.28"
opentelemetry = "0.20.0"
tracing-opentelemetry = "0.20.0"
tower-http = { version = "0.4.4", features = ["cors"] }
opentelemetry-jaeger = "0.19.0"
opentelemetry_api = { version = "0.20.0", features = ["metrics"] }
axum-prometheus = { version = "0.4.0", optional = true }
metrics = "0.21.1"
metrics-exporter-prometheus = { version = "0.12.1", optional = true }
tendermint = "0.35.0"
tendermint-config = "0.35.0"
tendermint-rpc = { version = "0.35.0", features = ["http-client"] }
tendermint-proto = "0.35.0"
clap = { version = "4.4.2", features = ["derive", "env"] }
ureq = "2.9.1"
once_cell = "1.19.0"
[dev-dependencies]
criterion = { version = "0.5.1", features = [
"html_reports",
"tokio",
"async_futures",
] }
httpc-test = "0.1.4"
[patch.crates-io]
tendermint = { git = "https://github.com/informalsystems/tendermint-rs.git", branch = "main" }
tendermint-rpc = { git = "https://github.com/informalsystems/tendermint-rs.git", branch = "main" }
tendermint-proto = { git = "https://github.com/informalsystems/tendermint-rs.git", branch = "main" }
tendermint-config = { git = "https://github.com/informalsystems/tendermint-rs.git", branch = "main" }
[features]
default = []
prometheus = ["metrics-exporter-prometheus", "axum-prometheus"]
[[bench]]
name = "save_blocks_bench"
harness = false
[[bench]]
name = "get_block_bench"
harness = false