feat: authentication system

This commit is contained in:
Ninjdai 2025-08-03 01:50:18 +02:00
parent d8c29e1ec8
commit 37153c6e36
15 changed files with 852 additions and 18 deletions

View file

@ -5,6 +5,7 @@ edition = "2024"
[dependencies]
axum = { version = "0.8.4", features = [ "macros", "ws", "tokio" ] }
axum-extra = { version = "0.10.1", features = ["typed-header"] }
dotenvy = "0.15.7"
reqwest = "0.12.22"
sea-orm = { version = "1.1.13", features = [ "sqlx-sqlite", "runtime-tokio-rustls", "macros" ] }
@ -18,4 +19,10 @@ utoipa-redoc = { version = "6", features = ["axum"] }
futures-util = "0.3.31"
log = "0.4.27"
pretty_env_logger = "0.5.0"
argon2 = { version = "0.5.3", features = ["password-hash", "alloc", "rand"] }
clap = { version = "4.5.42", features = ["derive"] }
inquire = "0.7.5"
rand_core = { version = "0.9.3", features = ["os_rng"] }
password-hash = { version = "0.5.0", features = ["getrandom"] }
jsonwebtoken = "9.3.1"