diff --git a/Cargo.lock b/Cargo.lock index 4acfbd21..682b4b17 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -484,6 +484,12 @@ dependencies = [ "rustversion", ] +[[package]] +name = "arcstr" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03918c3dbd7701a85c6b9887732e2921175f26c350b4563841d0958c21d57e6d" + [[package]] name = "asn1-rs" version = "0.7.1" @@ -2669,15 +2675,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "1.0.16" @@ -3788,28 +3785,29 @@ dependencies = [ [[package]] name = "redis" -version = "0.27.6" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d8f99a4090c89cc489a94833c901ead69bfbf3877b4867d5482e321ee875bc" +checksum = "dbe7f6e08ce1c6a9b21684e643926f6fc3b683bc006cb89afd72a5e0eb16e3a2" dependencies = [ "arc-swap", - "async-trait", + "arcstr", "backon", "bytes", + "cfg-if", "combine", - "futures", + "futures-channel", "futures-util", - "itertools 0.13.0", "itoa", "num-bigint", "percent-encoding", "pin-project-lite", "ryu", "sha1_smol", - "socket2 0.5.10", + "socket2 0.6.1", "tokio", "tokio-util", "url", + "xxhash-rust", ] [[package]] @@ -4431,7 +4429,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70c0e00fab6460447391a1981c21341746bc2d0178a7c46a3bbf667f450ac6e4" dependencies = [ "indexmap", - "itertools 0.12.1", + "itertools", "num-traits", "once_cell", "paste", @@ -6224,6 +6222,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 805044a3..15741bab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ actix-casbin-auth = { git = "https://github.com/casbin-rs/actix-casbin-auth.git" casbin = "2.2.0" aes-gcm = "0.10.3" base64 = "0.22.1" -redis = { version = "0.27.5", features = ["tokio-comp", "connection-manager"] } +redis = { version = "1.0.0", features = ["tokio-comp", "connection-manager"] } urlencoding = "2.1.3" tera = "1.19.1"