Files
Rs_blog_backend/Cargo.toml
2026-02-11 15:14:20 +08:00

42 lines
949 B
TOML

[package]
name = "blog_backend"
version = "0.1.0"
edition = "2021"
[dependencies]
# --- Web Framework ---
actix-web = "4"
actix-cors = "0.7"
actix-files = "0.6"
actix-multipart = "0.7"
actix-governor = "0.6"
futures-util = "0.3"
# --- Async Runtime ---
tokio = { version = "1", features = ["full"] }
# --- Database ---
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite", "chrono", "uuid"] }
# --- Serialization ---
serde = { version = "1", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
validator = { version = "0.18", features = ["derive"] }
# --- Error Handling ---
thiserror = "2"
anyhow = "1"
# --- Auth & Security ---
argon2 = "0.5"
jsonwebtoken = "9"
rand = "0.8"
# --- Config & Logging ---
dotenvy = "0.15"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-actix-web = "0.7"