feat: Centralize axum-login authentication logic in infra and introduce configurable database and session settings.
This commit is contained in:
7
Cargo.lock
generated
7
Cargo.lock
generated
@@ -39,14 +39,12 @@ dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
"axum",
|
||||
"axum-login",
|
||||
"chrono",
|
||||
"config",
|
||||
"domain",
|
||||
"dotenvy",
|
||||
"infra",
|
||||
"k-core",
|
||||
"password-auth",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"thiserror 2.0.17",
|
||||
@@ -54,7 +52,6 @@ dependencies = [
|
||||
"tokio",
|
||||
"tower",
|
||||
"tower-http",
|
||||
"tower-sessions",
|
||||
"tower-sessions-sqlx-store",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
@@ -1175,18 +1172,22 @@ dependencies = [
|
||||
name = "infra"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-nats",
|
||||
"async-trait",
|
||||
"axum-login",
|
||||
"chrono",
|
||||
"domain",
|
||||
"futures-core",
|
||||
"futures-util",
|
||||
"k-core",
|
||||
"password-auth",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sqlx",
|
||||
"thiserror 2.0.17",
|
||||
"tokio",
|
||||
"tower-sessions",
|
||||
"tower-sessions-sqlx-store",
|
||||
"tracing",
|
||||
"uuid",
|
||||
|
||||
Reference in New Issue
Block a user