Hi sir!!
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
[package]
|
||||
name = "lms-backend"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-cors = "0.7" # For enabling Cross-Origin Resource Sharing
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
dotenv = "0.15" # For loading .env files
|
||||
sqlx = { version = "0.7", features = ["runtime-actix-native-tls", "mysql", "chrono", "macros"] }
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
# srp = "0.6" # For PAKE SRP (NOTE: Need careful state management for handshake)
|
||||
# We'll outline the SRP flow, but full implementation requires managing server state (b value) between requests.
|
||||
# Using simple password hashing for now as a placeholder until full SRP state management is added.
|
||||
argon2 = "0.5"
|
||||
rand = "0.8" # Needed for salt generation with Argon2
|
||||
thiserror = "1.0" # For cleaner error handling
|
||||
env_logger = "0.11" # For logging
|
||||
futures = "0.3" # Often needed for async operations
|
||||
uuid = { version = "1", features = ["v4", "serde"] } # For potential session tokens
|
||||
hex = "0.4" # For handling hex representations (e.g., for SRP values if used)
|
||||
|
||||
# PAKE SRP dependency (choose one, `srp` is common)
|
||||
srp = "0.6"
|
||||
Reference in New Issue
Block a user