diff --git a/Cargo.lock b/Cargo.lock index a7e5f20..991ea26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -47,6 +47,12 @@ version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +[[package]] +name = "arc-swap" +version = "1.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" + [[package]] name = "async-stream" version = "0.3.5" @@ -258,7 +264,7 @@ dependencies = [ "log", "md5", "pretty_env_logger", - "redis", + "redis 0.26.1", "redis-test", "thiserror", "tokio", @@ -919,6 +925,25 @@ dependencies = [ "memchr", ] +[[package]] +name = "num-bigint" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + [[package]] name = "num-traits" version = "0.2.19" @@ -1139,6 +1164,29 @@ dependencies = [ "url", ] +[[package]] +name = "redis" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e902a69d09078829137b4a5d9d082e0490393537badd7c91a3d69d14639e115f" +dependencies = [ + "arc-swap", + "async-trait", + "bytes", + "combine", + "futures-util", + "itoa", + "num-bigint", + "percent-encoding", + "pin-project-lite", + "ryu", + "sha1_smol", + "socket2", + "tokio", + "tokio-util", + "url", +] + [[package]] name = "redis-test" version = "0.4.0" @@ -1146,7 +1194,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a948b3cec9e4b1fedbb0f0788e79029fb1f641b6cfefb7a15d044f803854427" dependencies = [ "futures", - "redis", + "redis 0.25.4", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d31fc52..de4155d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread", "time", "sync" uuid = { version = "1", features = ["v4"] } etcd-client = { version = "0.14", optional = true } -redis = { version = "0.25", optional = true, features = ["tokio-comp"] } +redis = { version = "0.26", optional = true, features = ["tokio-comp"] } [dev-dependencies] pretty_env_logger = "0.5"