mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 02:26:38 -06:00
Extract reqwest client creation into dedicated HttpClient abstraction that handles both TCP and Unix socket connections transparently. Simplifies proxy logic by removing duplicate URL construction and client selection throughout the codebase.
36 lines
1.2 KiB
TOML
36 lines
1.2 KiB
TOML
[package]
|
|
name = "api"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
default-run = "api"
|
|
|
|
[dependencies]
|
|
argon2 = "0.5"
|
|
aws-config = "1.8.12"
|
|
aws-sdk-s3 = "1.119.0"
|
|
axum = "0.8.8"
|
|
axum-extra = { version = "0.12", features = ["cookie"] }
|
|
clap = { version = "4.5.54", features = ["derive", "env"] }
|
|
dashmap = "6.1.0"
|
|
dotenvy = "0.15"
|
|
futures = "0.3.31"
|
|
include_dir = "0.7.4"
|
|
mime_guess = "2.0.5"
|
|
nu-ansi-term = "0.50.3"
|
|
rand = "0.9.2"
|
|
reqwest = { version = "0.13.1", default-features = false, features = ["rustls", "charset", "json", "stream"] }
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
serde_json = "1.0.148"
|
|
sqlx = { version = "0.8", features = ["runtime-tokio", "tls-rustls", "postgres", "uuid", "time", "migrate"] }
|
|
thiserror = "2.0.17"
|
|
time = { version = "0.3.44", features = ["formatting", "macros", "serde"] }
|
|
tokio = { version = "1.49.0", features = ["full"] }
|
|
tokio-util = { version = "0.7.18", features = ["io"] }
|
|
tower = "0.5"
|
|
tower-http = { version = "0.6.8", features = ["trace", "cors", "limit"] }
|
|
tracing = "0.1.44"
|
|
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
|
|
ulid = { version = "1", features = ["serde"] }
|
|
urlencoding = "2.1"
|
|
uuid = { version = "1", features = ["serde", "v4"] }
|