diff --git a/Cargo.lock b/Cargo.lock index ed159d9..12d9276 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -921,6 +921,26 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" +[[package]] +name = "pin-project" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "030ad2bc4db10a8944cb0d837f158bdfec4d4a4873ab701a95046770d11f8842" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.27", +] + [[package]] name = "pin-project-lite" version = "0.2.10" @@ -995,9 +1015,9 @@ dependencies = [ [[package]] name = "redis" -version = "0.23.0" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea8c51b5dc1d8e5fd3350ec8167f464ec0995e79f2e90a075b63371500d557f" +checksum = "ff5d95dd18a4d76650f0c2607ed8ebdbf63baf9cb934e1c233cd220c694db1d7" dependencies = [ "arc-swap", "async-trait", @@ -1010,6 +1030,7 @@ dependencies = [ "pin-project-lite", "ryu", "tokio", + "tokio-retry", "tokio-util", "url", ] @@ -1407,6 +1428,17 @@ dependencies = [ "syn 2.0.27", ] +[[package]] +name = "tokio-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +dependencies = [ + "pin-project", + "rand", + "tokio", +] + [[package]] name = "tokio-rustls" version = "0.24.1" diff --git a/Cargo.toml b/Cargo.toml index b4db684..529a4ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" async-recursion = "1.0.4" actix-web = "4.3.1" lazy_static = "1.4.0" -redis = { version = "0.23.0", default-features = false, features = ["tokio-comp", "connection-manager"] } +redis = { version = "0.23.1", default-features = false, features = ["tokio-comp", "connection-manager"] } regex = "1.9.1" reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls", "gzip", "json", "socks"] } serde = {version = "1.0.177", default-features = false, features = ["derive"]}