From 0ac068a14d9008a8f24a511fa5295963bcb01a21 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 3 Feb 2022 22:40:02 +0000 Subject: [PATCH] fix redis --- actix-protobuf/CHANGES.md | 4 ++-- actix-redis/Cargo.toml | 1 + actix-redis/src/redis.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/actix-protobuf/CHANGES.md b/actix-protobuf/CHANGES.md index 7dd8ddf6b..b893baa4d 100644 --- a/actix-protobuf/CHANGES.md +++ b/actix-protobuf/CHANGES.md @@ -1,11 +1,11 @@ # Changes ## Unreleased - 2021-xx-xx -- Update `actix-web` dependency to `4.0.0-rc.1`. ## 0.7.0-beta.5 - 2022-02-03 -- Bump `prost` version to 0.9. +- Update `prost` dependency to `0.9`. +- Update `actix-web` dependency to `4.0.0-rc.1`. ## 0.7.0-beta.4 - 2021-12-29 diff --git a/actix-redis/Cargo.toml b/actix-redis/Cargo.toml index 3f1dcc29f..d9fee93f7 100644 --- a/actix-redis/Cargo.toml +++ b/actix-redis/Cargo.toml @@ -30,6 +30,7 @@ web = [ [dependencies] actix = { version = "0.12.0", default-features = false } +actix-rt = { version = "2.1", default-features = false } actix-service = "2.0.0" actix-tls = { version = "3.0.0-rc.2", default-features = false, features = ["connect"] } diff --git a/actix-redis/src/redis.rs b/actix-redis/src/redis.rs index 8f5f51f0e..979a941f0 100644 --- a/actix-redis/src/redis.rs +++ b/actix-redis/src/redis.rs @@ -2,9 +2,9 @@ use std::collections::VecDeque; use std::io; use actix::prelude::*; +use actix_rt::net::TcpStream; use actix_service::boxed::{self, BoxService}; use actix_tls::connect::{ConnectError, ConnectInfo, Connection, ConnectorService}; -use actix_web::rt::net::TcpStream; use backoff::backoff::Backoff; use backoff::ExponentialBackoff; use log::{error, info, warn};