From 1f76530bc5001d9a9088f269db6c03cf287b67e6 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Mon, 2 Feb 2026 17:09:32 +0200 Subject: feat: create auth session --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 31d5fbb..3b2dfc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,8 @@ license.workspace = true [dependencies] activitypub_federation = { version = "0.7.0-beta.8", default-features = false, features = ["axum"] } anyhow.workspace = true +async-session = "3.0.0" +async-sqlx-session = { version = "0.4.0", default-features = false, features = ["rustls", "pg"] } async-trait.workspace = true axum = { version = "0.8.8", features = ["macros"] } bon.workspace = true @@ -58,7 +60,7 @@ uuid = { workspace = true, features = ["v7"] } [dependencies.sqlx] version = "0.8.6" default-features = false -features = ["postgres", "runtime-tokio-rustls"] +features = ["macros", "migrate", "postgres", "runtime-tokio", "runtime-tokio-rustls", "time", "tls-rustls"] [features] default = ["oauth-discord"] -- cgit v1.2.3