From acb6a9ebd8383987bad55fa44e84063c5d17dcbc Mon Sep 17 00:00:00 2001 From: IAmTomahawkx Date: Sat, 4 Jan 2025 15:33:49 -0800 Subject: [PATCH] patch redis-rs with updated versions --- Cargo.lock | 9 ++------- Cargo.toml | 3 +-- crates/daemons/pushd/Cargo.toml | 3 +++ 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 463feb988..0d86fe8c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5701,8 +5701,7 @@ dependencies = [ [[package]] name = "redis" version = "0.23.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f49cdc0bb3f412bf8e7d1bd90fe1d9eb10bc5c399ba90973c14662a27b3f8ba" +source = "git+https://github.com/revoltchat/redis-rs?rev=523b2937367e17bd0073722bf6e23d06042cb4e4#523b2937367e17bd0073722bf6e23d06042cb4e4" dependencies = [ "async-std", "async-trait", @@ -6244,6 +6243,7 @@ dependencies = [ "revolt-config", "revolt-database", "revolt-models", + "revolt-presence", "revolt_a2", "revolt_optional_struct", "serde", @@ -9301,8 +9301,3 @@ checksum = "99a5bab8d7dedf81405c4bb1f2b83ea057643d9cb28778cea9eecddeedd2e028" dependencies = [ "zune-core", ] - -[[patch.unused]] -name = "redis" -version = "0.22.3" -source = "git+https://github.com/revoltchat/redis-rs?rev=1a41faf356fd21aebba71cea7eb7eb2653e5f0ef#1a41faf356fd21aebba71cea7eb7eb2653e5f0ef" diff --git a/Cargo.toml b/Cargo.toml index e1ffea55d..f54d17e6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,8 +11,7 @@ members = [ ] [patch.crates-io] -redis22 = { package = "redis", version = "0.22.3", git = "https://github.com/revoltchat/redis-rs", rev = "1a41faf356fd21aebba71cea7eb7eb2653e5f0ef" } -#redis23 = { package = "redis", version = "0.23.1", git = "https://github.com/revoltchat/redis-rs", rev = "f8ca28ab85da59d2ccde526b4d2fb390eff5a5f9" } +redis23 = { package = "redis", version = "0.23.3", git = "https://github.com/revoltchat/redis-rs", rev = "523b2937367e17bd0073722bf6e23d06042cb4e4" } authifier = { package = "authifier", version = "1.0.10", path = "../authifier/crates/authifier" } rocket_authifier = { package = "rocket_authifier", version = "1.0.10", path = "../authifier/crates/rocket_authifier" } diff --git a/crates/daemons/pushd/Cargo.toml b/crates/daemons/pushd/Cargo.toml index 64563ba93..17f82fa71 100644 --- a/crates/daemons/pushd/Cargo.toml +++ b/crates/daemons/pushd/Cargo.toml @@ -9,6 +9,9 @@ revolt-database = { version = "0.8.1", path = "../../core/database" } revolt-models = { version = "0.8.1", path = "../../core/models", features = [ "validator", ] } +revolt-presence = { version = "0.8.1", path = "../../core/presence", features = [ + "redis-is-patched", +] } amqprs = { version = "1.7.0" } fcm_v1 = "0.3.0"