mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 14:26:37 -06:00
Replaces fixed-interval polling with a priority queue scheduler that adjusts check frequency based on activity recency (15min for active projects, up to 24hr for stale ones). Includes exponential backoff on errors and staggered initial checks to prevent API rate limit issues.
46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
[package]
|
|
name = "api"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "xevion"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
argon2 = "0.5"
|
|
aws-config = "1.8.12"
|
|
aws-sdk-s3 = "1.119.0"
|
|
axum = { version = "0.8.8", features = ["multipart"] }
|
|
axum-extra = { version = "0.12", features = ["cookie"] }
|
|
blurhash = "0.2.3"
|
|
clap = { version = "4.5.54", features = ["derive", "env"] }
|
|
dashmap = "6.1.0"
|
|
dotenvy = "0.15"
|
|
futures = "0.3.31"
|
|
image = "0.25.9"
|
|
include_dir = "0.7.4"
|
|
mime_guess = "2.0.5"
|
|
moka = { version = "0.12.12", features = ["future"] }
|
|
nu-ansi-term = "0.50.3"
|
|
parking_lot = "0.12.5"
|
|
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"] }
|
|
|
|
[profile.release]
|
|
strip = true
|