chore(deps): Update Cargo.toml

This commit is contained in:
Jose Daniel G. Percy 2025-04-08 16:37:41 +08:00
parent 7d8abd673f
commit 92f011282d

View File

@ -4,21 +4,51 @@ version = "0.1.0"
edition = "2021"
[dependencies]
# Web framework
actix-web = "4.10.2"
actix-cors = "0.7.1"
# Serialization
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
dotenv = "0.15.0" # Or consider dotenvy = "0.15.7"
sqlx = { version = "0.8.3", features = ["runtime-actix-native-tls", "mysql", "chrono", "macros"] }
# Date and time
chrono = { version = "0.4.40", features = ["serde"] }
argon2 = "0.5.3" # Note: Argon2 was only in the initial Cargo.toml example, not used in the SRP code. Remove if not needed elsewhere.
rand = "0.9.0" # Needed for Argon2 salt or other randomness, keep if needed. SRP generates its own randomness internally.
thiserror = "1.0.69"
env_logger = "0.11.8"
futures = "0.3.31"
uuid = { version = "1.16.0", features = ["v4", "serde"] }
# Database
sqlx = { version = "0.8.3", features = [
"runtime-actix-native-tls",
"mysql",
"chrono",
"macros",
"uuid",
] }
# Redis
deadpool-redis = { version = "0.20", features = ["rt_tokio_1"] }
redis = { version = "0.29.5", features = ["tokio-comp", "connection-manager"] }
# Crypto & random
argon2 = "0.5.3"
rand = "0.9.0"
hex = "0.4.3"
# PAKE SRP dependencies
# UUIDs
uuid = { version = "1.16.0", features = ["v4", "serde"] }
# Logging
log = "0.4.27"
env_logger = "0.11.8"
# Async
futures = "0.3.31"
# Error handling
thiserror = "1.0.69"
# Environment
dotenv = "0.15.0" # Consider switching to dotenvy = "0.15.7"
# PAKE SRP
srp = "0.6.0"
sha2 = "0.10.8" # Explicitly added, required by SRP handler using Sha256
sha2 = "0.10.8"