forked from StellarSend/backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (57 loc) · 2.11 KB
/
Copy pathCargo.toml
File metadata and controls
70 lines (57 loc) · 2.11 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
63
64
65
66
67
68
69
70
[workspace]
[package]
name = "stellarsend-backend"
version = "0.1.0"
edition = "2021"
authors = ["StellarSend Team"]
description = "Production-quality backend for StellarSend global money transfer app"
license = "MIT"
[[bin]]
name = "stellarsend"
path = "src/main.rs"
[dependencies]
# Async runtime
tokio = { version = "1.35", features = ["full"] }
# HTTP framework
axum = { version = "0.7", features = ["macros"] }
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.5", features = ["cors", "trace", "request-id", "timeout"] }
# Database
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] }
# HTTP client
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Authentication
jsonwebtoken = "9"
bcrypt = "0.15"
# Logging / tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Error handling
thiserror = "1"
anyhow = "1"
# Utilities
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
dotenvy = "0.15"
tokio-util = { version = "0.7", features = ["full"] }
hex = "0.4"
# Opaque keyset-pagination cursor encoding (TransactionService::list_for_user,
# #54). 0.22 is already present in Cargo.lock transitively (webpki-roots /
# reqwest), so this adds no new dependency version to the tree.
base64 = "0.22"
# Stellar/Soroban keeper support — used only to build & sign the *keeper's
# own* transaction envelopes (never a user's). See src/services/soroban.rs.
stellar-xdr = { version = "21.2.0", features = ["curr", "base64"] }
stellar-strkey = "0.0.13"
ed25519-dalek = "2.1.1"
sha2 = "0.10"
[dev-dependencies]
wiremock = "0.6.5"
# NOTE: tokio-test was previously listed here but was never actually
# fetchable in this sandbox (no cached crate, no test that used it) and this
# repo has no tests predating this change, so it's dropped in favor of
# plain `#[tokio::test]` (provided by tokio's "full"/"macros" features,
# already a normal dependency above).