-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (53 loc) · 2 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (53 loc) · 2 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
[package]
name = "agrovest-backend"
version = "0.1.0"
edition = "2021"
description = "Backend API server for AgroVest - a Web3 agricultural investment and marketplace platform on Stellar Soroban"
license = "MIT"
repository = "https://github.com/AgroVestOfficial/AgroVest-Backend"
homepage = "https://github.com/AgroVestOfficial/AgroVest-Backend"
keywords = ["stellar", "soroban", "agriculture", "web3", "marketplace"]
categories = ["web-programming::http-server", "database"]
authors = ["AgroVest Team"]
readme = "README.md"
[dependencies]
axum = { version = "0.7", features = ["macros", "multipart"] }
tokio = { version = "1", features = ["full"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace", "limit"] }
governor = "0.6"
nonzero_ext = "0.3"
ipnet = "2"
sqlx = { version = "0.8", features = [
"runtime-tokio",
"tls-rustls",
"postgres",
"chrono",
"uuid",
"json",
] }
redis = { version = "0.26", features = ["tokio-comp", "connection-manager"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
jsonwebtoken = "9"
ed25519-dalek = { version = "2", features = ["serde"] }
rand = "0.8"
reqwest = { version = "0.12", features = ["json", "multipart"] }
stellar-strkey = "0.0.9"
dotenvy = "0.15"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
thiserror = "2"
anyhow = "1"
validator = { version = "0.18", features = ["derive"] }
tokio-util = "0.7"
[dev-dependencies]
# `ServiceExt::oneshot` (drive the router in integration tests) lives behind tower's "util" feature.
tower = { version = "0.4", features = ["util"] }
# `sqlx::migrate!` (apply migrations to the test database) needs the "migrate" feature,
# which the production binary does not require (migrations are run via sqlx-cli).
sqlx = { version = "0.8", features = ["migrate"] }
# Used in test helpers to mint signed JWTs without importing the full auth middleware.
jsonwebtoken = "9"