chore(deps): Update Cargo.toml
This commit is contained in:
parent
7d8abd673f
commit
92f011282d
50
Cargo.toml
50
Cargo.toml
@ -4,21 +4,51 @@ version = "0.1.0"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
# Web framework
|
||||||
actix-web = "4.10.2"
|
actix-web = "4.10.2"
|
||||||
actix-cors = "0.7.1"
|
actix-cors = "0.7.1"
|
||||||
|
|
||||||
|
# Serialization
|
||||||
serde = { version = "1.0.219", features = ["derive"] }
|
serde = { version = "1.0.219", features = ["derive"] }
|
||||||
serde_json = "1.0.140"
|
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"] }
|
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.
|
# Database
|
||||||
thiserror = "1.0.69"
|
sqlx = { version = "0.8.3", features = [
|
||||||
env_logger = "0.11.8"
|
"runtime-actix-native-tls",
|
||||||
futures = "0.3.31"
|
"mysql",
|
||||||
uuid = { version = "1.16.0", features = ["v4", "serde"] }
|
"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"
|
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"
|
srp = "0.6.0"
|
||||||
sha2 = "0.10.8" # Explicitly added, required by SRP handler using Sha256
|
sha2 = "0.10.8"
|
||||||
Loading…
x
Reference in New Issue
Block a user