-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (33 loc) · 986 Bytes
/
Cargo.toml
File metadata and controls
41 lines (33 loc) · 986 Bytes
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
[package]
name = "eth-txs-api"
version = "1.0.0"
edition = "2021"
[dependencies]
tokio = { version = "1.17", features = ["full"] }
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.64"
curl = "0.4.44"
tokio-postgres = { version = "=0.7.2", features = ["with-chrono-0_4"] }
postgres-protocol = "=0.6.3"
postgres-types = "=0.2.2"
chrono = { version = "0.4.19", features = ["serde"] }
chrono-tz = "0.6.1"
dotenv = "0.15"
# CLI parsing
clap = { version = "=4.3.0", features = ["derive"] }
# TOML config file parsing
toml = "0.7"
# Logging/tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
tracing-appender = "0.2"
# Web framework (Actix-web 4.3 - compatible with stable Rust 1.71.0)
actix-web = "=4.3.1"
actix-rt = "=2.8.0"
# Prometheus metrics
prometheus = "=0.13.3"
lazy_static = "1.4"
# OpenAPI documentation
utoipa = { version = "=3.3.0", features = ["actix_extras"] }
# Error handling
thiserror = "1.0.40"