From eb2e86997d47249aa31b703598de13ab2eb96caa Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Tue, 3 Feb 2026 13:45:46 +0200 Subject: feat: add cache --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 2aef60c..51b6d73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,6 +38,7 @@ 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"] } +bb8-redis = "0.26.0" bon.workspace = true clap = { version = "4.5.56", features = ["derive", "env"] } oauth2.workspace = true @@ -60,6 +61,11 @@ utoipa-scalar = { version = "0.3.0", optional = true } utoipa-swagger-ui = { version = "9.0.2", optional = true } uuid = { workspace = true, features = ["v7"] } +[dependencies.redis] +version = "1.0.3" +default-features = false +features = ["cluster-async", "connection-manager", "sentinel", "tokio-comp"] + [dependencies.sqlx] version = "0.8.6" default-features = false -- cgit v1.2.3