diff --git a/Cargo.lock b/Cargo.lock index b3ec13b..bc5d48f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -349,6 +349,12 @@ version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" +[[package]] +name = "arcstr" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03918c3dbd7701a85c6b9887732e2921175f26c350b4563841d0958c21d57e6d" + [[package]] name = "arrayvec" version = "0.7.6" @@ -3651,11 +3657,12 @@ dependencies = [ [[package]] name = "redis" -version = "0.32.7" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "014cc767fefab6a3e798ca45112bccad9c6e0e218fbd49720042716c73cfef44" +checksum = "47ba378d39b8053bffbfc2750220f5a24a06189b5129523d5db01618774e0239" dependencies = [ "arc-swap", + "arcstr", "backon", "bytes", "cfg-if", @@ -3675,6 +3682,7 @@ dependencies = [ "tokio-native-tls", "tokio-util", "url", + "xxhash-rust", ] [[package]] @@ -5841,6 +5849,12 @@ dependencies = [ "time", ] +[[package]] +name = "xxhash-rust" +version = "0.8.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3" + [[package]] name = "yaml-rust" version = "0.4.5" diff --git a/Cargo.toml b/Cargo.toml index 2032b76..4a52ea4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ serde_json = "1" serde_yaml = "0.9" clap = { version = "4.5.53", features = ["derive"] } nix = { version = "0.30.0", features = ["net", "fs"] } -redis = { version = "0.32", features = ["tokio-native-tls-comp", "connection-manager", "r2d2"]} +redis = { version = "1.0", features = ["tokio-native-tls-comp", "connection-manager", "r2d2"]} native-tls = "0.2" tokio-rustls = "0.26.4" rustls = { version = "0.23.12", default-features = false, features = [