-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (50 loc) · 1.43 KB
/
Cargo.toml
File metadata and controls
62 lines (50 loc) · 1.43 KB
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
[package]
name = "ergo-index"
version = "0.1.0"
edition = "2021"
description = "Lightweight Ergo blockchain indexer and explorer API"
license = "MIT"
repository = "https://github.com/andrehafner/indexed_node_explorer_replacement"
[dependencies]
# Web framework
axum = { version = "0.7", features = ["macros", "ws"] }
tower = { version = "0.5", features = ["full"] }
tower-http = { version = "0.6", features = ["fs", "cors", "trace", "compression-gzip"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
# Database
duckdb = { version = "1.0", features = ["bundled"] }
r2d2 = "0.8"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# HTTP client for node communication
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
# Utilities
anyhow = "1"
thiserror = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
chrono = { version = "0.4", features = ["serde"] }
hex = "0.4"
base64 = "0.21"
blake2 = "0.10"
sha2 = "0.10"
# CLI
clap = { version = "4", features = ["derive", "env"] }
# Config
config = "0.14"
dotenvy = "0.15"
# Async utilities
futures = "0.3"
async-stream = "0.3"
tokio-stream = "0.1"
# OpenAPI/Swagger
utoipa = { version = "4", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "6", features = ["axum"] }
[dev-dependencies]
tokio-test = "0.4"
[profile.release]
lto = true
codegen-units = 1
strip = true