diff --git a/Cargo.lock b/Cargo.lock index f53857d..8e2fc2f 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" @@ -2603,15 +2609,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" @@ -3673,28 +3670,29 @@ dependencies = [ [[package]] name = "redis" -version = "0.27.6" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d8f99a4090c89cc489a94833c901ead69bfbf3877b4867d5482e321ee875bc" +checksum = "e969d1d702793536d5fda739a82b88ad7cbe7d04f8386ee8cd16ad3eff4854a5" 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]] @@ -4202,7 +4200,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", @@ -5984,6 +5982,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" @@ -6128,4 +6132,4 @@ checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" dependencies = [ "cc", "pkg-config", -] \ No newline at end of file +] diff --git a/Cargo.toml b/Cargo.toml index 724c077..a77d015 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,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"