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
41 lines (35 loc) · 1.29 KB
/
Copy pathCargo.toml
File metadata and controls
41 lines (35 loc) · 1.29 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
[package]
name = "router-api-server"
version = "0.1.0"
edition = "2021"
description = "API server for stellar-router with transaction simulation and WebSocket tracking"
[[bin]]
name = "router-api-server"
path = "src/main.rs"
[lib]
name = "router_api_server"
path = "src/lib.rs"
[dependencies]
axum = { version = "0.7.9", features = ["tokio", "ws"] }
tokio = { version = "1.44.2", features = ["full"] }
tokio-tungstenite = { version = "0.29.0" }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = { version = "1.0.140" }
reqwest = { version = "0.12.15", features = ["json", "rustls-tls"], default-features = false }
tracing = { version = "0.1.41" }
anyhow = { version = "1.0.98" }
dashmap = { version = "6.1.0" }
futures-util = { version = "0.3" }
clap = { version = "4.5.37", features = ["derive", "env"] }
async-trait = { version = "0.1.88" }
tokio-util = { version = "0.7", features = ["rt"] }
# Shared off-chain utilities
router-off-chain-common = { path = "../router-off-chain-common" }
# OpenAPI/Swagger
utoipa = { version = "4.2.3", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "7", features = ["axum"] }
[dev-dependencies]
axum-test = "20.1"
tower = { version = "0.4", features = ["util"] }
tokio = { version = "1.44.2", features = ["full"] }
futures-util = { version = "0.3" }