forked from StellarRouter/StellarRouter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (46 loc) · 1.65 KB
/
Copy pathCargo.toml
File metadata and controls
62 lines (46 loc) · 1.65 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 = "router-metrics-exporter"
version = "0.1.0"
edition = "2021"
description = "Prometheus/OpenTelemetry metrics exporter for the stellar-router suite"
[[bin]]
name = "router-metrics-exporter"
path = "src/main.rs"
[dependencies]
# HTTP server
axum = { version = "0.7.9", features = ["tokio"] }
tokio = { version = "1.44.2", features = ["full"] }
# Prometheus metrics
prometheus = { version = "0.14.0", features = ["process"] }
# Serialization
serde = { version = "1.0.219", features = ["derive"] }
serde_json = { version = "1.0.140" }
# HTTP client (for RPC calls and SSE streaming)
reqwest = { version = "0.12.15", features = ["json", "rustls-tls", "stream"], default-features = false }
# Async stream utilities (SSE byte-stream processing)
tokio-stream = { version = "0.1.17" }
# Byte-stream utilities for SSE chunked reads
futures-util = { version = "0.3.31" }
# Logging
tracing = { version = "0.1.41" }
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
uuid = { version = "1.11.0", features = ["v4"] }
# Config / CLI
clap = { version = "4.5.37", features = ["derive", "env"] }
# Error handling
anyhow = { version = "1.0.98" }
# Async trait support
async-trait = { version = "0.1.88" }
# Validation
validator = { version = "0.20.0", features = ["derive"] }
# Rate limiting
dashmap = { version = "6.1.0" }
# Shared off-chain utilities
router-off-chain-common = { path = "../router-off-chain-common" }
# Time
tokio-util = { version = "0.7.15" }
# OpenAPI/Swagger
utoipa = { version = "4.2.3", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "7", features = ["axum"] }
[dev-dependencies]
tower = { version = "0.5.3" }